summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/RendererFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/RendererFactory.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/RendererFactory.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/RendererFactory.cs b/Xamarin.Forms.Platform.iOS/RendererFactory.cs
new file mode 100644
index 00000000..ff37905a
--- /dev/null
+++ b/Xamarin.Forms.Platform.iOS/RendererFactory.cs
@@ -0,0 +1,13 @@
+using System;
+
+namespace Xamarin.Forms.Platform.iOS
+{
+ public static class RendererFactory
+ {
+ [Obsolete("Use Platform.CreateRenderer")]
+ public static IVisualElementRenderer GetRenderer(VisualElement view)
+ {
+ return Platform.CreateRenderer(view);
+ }
+ }
+} \ No newline at end of file