xCode6 incorrect view controller orientation when deployed to iOS7 device
问题 I'm running into a weird issue when testing an app with deployment target of 7.1 compiled with xCode6 and tested on an iOS 7.1.2 and iOS 8.0.2 devices. A view controller is defined in storyboard with a portrait placeholder. The app supports landscape orientation only. in app delegate: @property (nonatomic,strong) UIViewController* privacyScreen; self.privacyScreen = [kMainStoryboard instantiateViewControllerWithIdentifier:@"privacyScreen"]; [self.window addSubview:self.privacyScreen.view];