question

AndrewCox-0309 avatar image
0 Votes"
AndrewCox-0309 asked JessieZhang-2116 commented

Xamarin.Forms.Maps black screen on iOS > 12.4

Hi,

We're developing a white label app which uses Xamarin.Forms.Maps. All is working on Android but on iOS versions greater than 12.4 MapKit will not display!

The problem occurs in GetViewForAnnotation when trying to get our custom map pin. The coordinates of the annotation are completely wrong!

I've got no idea where to look for a solution. All seems to be okay on iOS 12.4!

Does anyone have any idea where I could look to resolve this?

Thanks,

Andy

dotnet-xamarin
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AndrewCox-0309 ,I did a test,but I couldn't reproduce this problem. Can you share the detailed steps for this problem so that we can try to reproduce this problem on our side?

0 Votes 0 ·

I think the initial problem was that I was getting a MKAnnotationWrapper object in GetViewForAnnotation rather than the MKUserLocation object I was expecting. This problem is detailed here:

https://bugzilla.xamarin.com/26/26416/bug.html#c1

Which I solved with this solution:

https://stackoverflow.com/a/62406118/3947089

But my application is still just a black screen on > 12.4. It might be to do with the start up time? But it's working on iOS 12.4 so I'm really stuck now!

0 Votes 0 ·

Since we couldn't reproduce on our side , could you please post a basic demo to githb or onedriver so that we can test on our side?

0 Votes 0 ·

0 Answers