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