Bug
| Bug ID Number | BUG-000136140 |
|---|---|
| Submitted | December 14, 2020 |
| Last Modified | July 5, 2025 |
| Applies to | ArcGIS Runtime SDK |
| Version found | 100.9 |
| Operating System | Apple iOS |
| Operating System Version | 12.0x |
| Version Fixed | 100.11 |
| Status | Fixed |
Use a custom renderer for MapView. Refer to: https://community.esri.com/t5/arcgis-runtime-sdk-for-net/mapview-objectdisposedexception-ios/m-p/668849#M8426.
[assembly: ExportRenderer(typeof(Esri.ArcGISRuntime.Xamarin.Forms.MapView), typeof(MyMapViewRenderer))]
namespace xxx.Forms.iOS
{
public class MyMapViewRenderer : MapViewRenderer
{
protected override bool ManageNativeControlLifetime => false;
}
}
Bug ID: BUG-000136140
Software:
Get help from ArcGIS experts
Download the Esri Support App