summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs b/Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs
index 3d3e6868..b21c8593 100644
--- a/Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/NativeViewWrapperRenderer.cs
@@ -68,5 +68,10 @@ namespace Xamarin.Forms.Platform.iOS
if (e.OldElement == null)
SetNativeControl(Element.NativeView);
}
+
+ /// <summary>
+ /// The native control we're wrapping isn't ours to dispose of
+ /// </summary>
+ protected override bool ManageNativeControlLifetime => false;
}
} \ No newline at end of file