Reputation: 364
iPad Orientations not working,
// Add the navigation controller's view to the window and display. [window addSubview:navigationController.view];
(BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation {
NSLog(@"we are here");
return YES;
} And also I have allready setup info.plist. I have 4 items in that array, one for each orientation. –
Upvotes: 0
Views: 304
Reputation: 1314
There's a bug in xcode 6.1 around auto rotations.
Here's the answer to your question for reference: https://stackoverflow.com/a/26543312/4171538
Upvotes: 1