Map does not render on iOS even with "new SfMapsRenderer()" in AppDelegate.FinishedLaunching

I have seen this KB:

https://www.syncfusion.com/kb/8603/how-to-resolve-sfmaps-not-rendering-issue-in-ios-and-uwp

I have already resolved this issue by instantiating a new SfMapsRenderer in my AppDelegate.FinishedLauching method; however, myself and my testers are still reporting that the map does not render on iOS, but does on Android. It shows only as a light blue box:

NuGet:

  • Syncfusion 20.1.0.61
  • Xamarin.Forms 5.0.0.2478
  • Minimum iOS 9, targeting iOS 15.5

Here is a simplified version of my XAML:

<ContentPage>
  <AbsoluteLayout>
    <RefreshView AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All">
      <ScrollView>
        <StackLayout>
          <map:SfMaps EnablePanning="True" EnableZooming="True" ZoomLevel="15">
            <map:SfMaps.Layers>
              <map:ImageryLayer BingMapKey="[redacted]" BingMapStyle="Road" GeoCoordinates="{Binding GeoCoordinates}" LayerType="Bing">
                <map:ImageryLayer.Markers>
                  <map:MapMarker Latitude="{Binding Latitude}" Longitude="{Binding Longitude}" />
                </map:ImageryLayer.Markers>
              </map:ImageryLayer>
            </map:SfMaps.Layers>
          </map:SfMaps>
        </StackLayout>
      </ScrollView>
    </RefreshView>
  </AbsoluteLayout>
</ContentPage>

10 Replies

ET Eswaran Thirugnanasambandam Syncfusion Team July 1, 2022 03:35 PM UTC

We prepared a simple sample based on the provided code snippet and checked the reported problem “Map does not render on iOS”. But we were unable to replicate the problem from our side. We prepared a video demonstration to show that the SfMap render on iOS correctly. Please get the tested video from the below attachment. The tested device details are provided below

Device:

iPad Air 2 (iOS 13.1.3)

Simulator:

iPhone 12 Pro Max (iOS 15.5, iOS 14.4)


If you still face any problem, can you revert us by modifying the sample based on your scenario along with the replication steps. It will help us provide an appropriate solution at the earliest.


Attachment: Map_Sample_bdd2cc58.zip


AH Andrew Hoke July 1, 2022 03:42 PM UTC

I tested and it does not reproduce in the simulator using iOS 15.5, only on physical devices. Please re-test on a physical device using iOS 15.5



AH Andrew Hoke July 1, 2022 04:03 PM UTC

I downloaded your sample and you are not using the same NuGet package versions, either. Please re-test on a physical device using Syncfusion 20.1.0.61 ​and Xamarin.Forms 5.0.0.2478



ET Eswaran Thirugnanasambandam Syncfusion Team July 4, 2022 03:19 PM UTC

Since we are working remotely, we are facing a device unavailability problem. As you mentioned, we again checked the reported problem “Map does not render on iOS” using Syncfusion 20.1.0.61 and Xamarin.Forms 5.0.0.2478 version with the available real device iPad Air 2 (iOS 13.1.3). But we were unable to replicate the problem from our side. Please get the tested video and sample from the below attachment.


Could you please test the same problem in the lower version of iOS and confirm whether the issue occurs only in the latest iOS 15.5 version or in all other versions too. It will help us provide an appropriate solution at the earliest.


Attachment: MapsTestedApp_159b3e7a.zip


AH Andrew Hoke July 5, 2022 06:44 PM UTC

We don't have any devices available to test with in lower iOS versions. I downgraded the SfMaps NuGet package to 19.3.0.46 (last known working package version) and it fixed the issue on a physical device running iOS 15.5 so I can confirm there is a problem with SfMaps in some package after that version.



ET Eswaran Thirugnanasambandam Syncfusion Team July 6, 2022 12:54 PM UTC

As mentioned earlier, We are facing a device unavailability problem. Currently, our development team is validating the reported problem. We will update further details on July 8, 2022.



ET Eswaran Thirugnanasambandam Syncfusion Team July 11, 2022 02:55 PM UTC

Sorry for the inconvenience. We are facing some problem when upgrading the iOS version to 15.5 iOS version. So, we are unable to check the reported problem. Currently our development team is working to resolve the device problem and check the reported problem. We will update further details on or before July 18, 2022.



AH Andrew Hoke July 12, 2022 02:29 PM UTC

Since we were able to downgrade to a last known working version, we will wait for further updates to allow us to update to newer Syncfusion versions. Thank you.



VR Vignesh Ramesh Syncfusion Team July 13, 2022 07:09 AM UTC

Thanks for your update and patience. We will update you the further details on or before July 18, 2022 as promised.



ET Eswaran Thirugnanasambandam Syncfusion Team July 18, 2022 08:27 PM UTC

Sorry for the inconvenience. Still, we are facing problem on upgrading our device to the latest version. So, our development team need some more time to validate the reported problem. We will check and revert you once the device is available from our side. Until you can continue your work with last known working version.


Loader.
Up arrow icon