|BOOL||NIIsSupportedOrientation (UIInterfaceOrientation orientation)|
|BOOL||NIIsLandscapePhoneOrientation (UIInterfaceOrientation orientation)|
|CGAffineTransform||NIRotateTransformForOrientation (UIInterfaceOrientation orientation)|
For dealing with device orientations.
For use in shouldAutorotateToInterfaceOrientation:
On iPhone/iPod touch:
Returns YES if the orientation is portrait, landscape left, or landscape right. This helps to ignore upside down and flat orientations.
Always returns YES.
Returns the application's current interface orientation.
This is simply a convenience method for [UIApplication sharedApplication].statusBarOrientation.
Returns YES if the device is a phone and the orientation is landscape.
This is a useful check for phone landscape mode which often requires additional logic to handle the smaller vertical real estate.
Creates an affine transform for the given device orientation.
This is useful for creating a transformation matrix for a view that has been added directly to the window and doesn't automatically have its transformation modified.