![]() |
EnkiUtils
Small library of classes that Enki Labs uses internally.
|
#import <UINavigationController+EnkiUtils.h>
Instance Methods | |
| (BOOL) | - shouldAutorotate |
| (NSUInteger) | - supportedInterfaceOrientations |
| (UIInterfaceOrientation) | - preferredInterfaceOrientationForPresentation |
The UINavigationController category brings the iOS5 auto-rotation methodology to iOS6 apps. You do not need to do anything special to make this happen, just code your app as you would code an iOS5 app.
Indeed, if you are using EnkiUtilities and want the iOS6 autorotation behavior you should comment out the implementations.
Definition at line 18 of file UINavigationController+EnkiUtils.h.