force landscape ios 7
Here is how I forced one of my views to be Landscape using NavigationViewController: Implemented this answer: https://stackoverflow.com/a/12662433/2394787 Imported message in the View controller: objc/message.h Added this line of code in the viewDidLoad method: objc_msgSend([UIDevice currentDevice], @selector(setOrientation:), UIInterfaceOrientationLandscapeLeft); Hope it helps someone.