diff options
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs b/Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs index ffb2de29..9a2bf580 100644 --- a/Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs +++ b/Xamarin.Forms.Platform.iOS/IVisualElementRenderer.cs @@ -1,24 +1,15 @@ using System; -#if __MOBILE__ using UIKit; -using NativeView = UIKit.UIView; -using NativeViewController = UIKit.UIViewController; namespace Xamarin.Forms.Platform.iOS -#else -using NativeView = AppKit.NSView; -using NativeViewController = AppKit.NSViewController; - -namespace Xamarin.Forms.Platform.MacOS -#endif { public interface IVisualElementRenderer : IDisposable, IRegisterable { VisualElement Element { get; } - NativeView NativeView { get; } + UIView NativeView { get; } - NativeViewController ViewController { get; } + UIViewController ViewController { get; } event EventHandler<VisualElementChangedEventArgs> ElementChanged; |