Beispiel #1
0
 public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations()
 {
     return(VisibleViewController == null || VisibleViewController is UIAlertController ?
            UIInterfaceOrientationMask.All : VisibleViewController.GetSupportedInterfaceOrientations());
 }
Beispiel #2
0
 public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations()
 {
     return(VisibleViewController?.GetSupportedInterfaceOrientations() ?? base.GetSupportedInterfaceOrientations());
 }