public NavigationController(IntPtr handle) : base(handle) { model = AppDelegate.getAndSubscribeToModel(this); NSNumber n = new NSNumber((int)UIInterfaceOrientation.LandscapeRight); NSString key = new NSString("orientation"); UIDevice.CurrentDevice.SetValueForKey(n, key); UIDevice.CurrentDevice.BeginGeneratingDeviceOrientationNotifications(); }
public CameraController(IntPtr handle) : base(handle) { model = AppDelegate.getAndSubscribeToModel(this); }