Global Variable

UIApplicationInvalidInterfaceOrientationException

This exception is thrown if a view controller or the app returns 0 instead of a valid set of supported interface orientation values. It is also thrown if the orientation returned by a view controller’s preferredInterfaceOrientationForPresentation method does not match one of the view controller’s supported orientations.

Declaration

const NSExceptionName UIApplicationInvalidInterfaceOrientationException;

See Also

Managing Interface Geometry

- application:supportedInterfaceOrientationsForWindow:

Asks the delegate for the interface orientations to use for the view controllers in the specified window.

- application:willChangeStatusBarOrientation:duration:

Tells the delegate when the interface orientation of the status bar is about to change.

Deprecated
- application:didChangeStatusBarOrientation:

Tells the delegate when the interface orientation of the status bar has changed.

Deprecated
- application:willChangeStatusBarFrame:

Tells the delegate when the frame of the status bar is about to change.

Deprecated
- application:didChangeStatusBarFrame:

Tells the delegate when the frame of the status bar has changed.

Deprecated
UIInterfaceOrientation

The orientation of the app's user interface.

UIInterfaceOrientationMask

These constants are mask bits for specifying a view controller’s supported interface orientations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software