MTExample1_9.MTExample1_9ViewController.ShouldAutorotateToInterfaceOrientation C# (CSharp) Method

ShouldAutorotateToInterfaceOrientation() public method

public ShouldAutorotateToInterfaceOrientation ( UIInterfaceOrientation toInterfaceOrientation ) : bool
toInterfaceOrientation UIInterfaceOrientation
return bool
        public override bool ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation toInterfaceOrientation)
        {
            return !UserInterfaceIdiomIsPhone || (toInterfaceOrientation != UIInterfaceOrientation.PortraitUpsideDown);
        }