I'm writing a project with a pcl and ios components. I'm following this sample:
https://github.com/xamarin/xamarin-forms-samples/blob/master/CustomRenderers/Map/Pin
Using it in conjunction with Xamarin.Forms.GoogleMaps NuGet package.
I'm facing a problem inside iOS renderer, because on row number 37 https://github.com/xamarin/xamarin-forms-samples/blob/master/CustomRenderers/Map/Pin/iOS/CustomMapRenderer.cs#L37 i will get always
var nativeMap = null
I can't understand what I'm missing
EDIT:
Debugging I get some more information. The problem seems to be Control as MKMapView
casting, infact that casting returns null, Control seems to be GMSMapView type instead of MKMapView.
How to go ahead of this problem???