EnkiUtils
Small library of classes that Enki Labs uses internally.
 All Classes Functions Properties Pages
UINavigationController(EnkiUtils) Category Reference

#import <UINavigationController+EnkiUtils.h>

Instance Methods

(BOOL) - shouldAutorotate
 
(NSUInteger) - supportedInterfaceOrientations
 
(UIInterfaceOrientation) - preferredInterfaceOrientationForPresentation
 

Detailed Description

Author
Fry http://stackoverflow.com/questions/12777474/ios-6-app-is-rotating-even-with-shouldautorotateno

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.


The documentation for this category was generated from the following files: