I have two view controllers in a single project. However, I want one of the view controller’s to autorotate, and the other to not.
If I set the master project setting as seen below:

Then, all view controllers autorotate, regardless of the following code in the view controller I do NOT want to autorotate:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
if (interfaceOrientation == UIInterfaceOrientationPortrait) {
return YES;
}
return NO;
}
However, if I set the master project settings as seen below, the view controller that I do not want to autorotate does not, but that also means neither can the one that I DO want to.

How must I integrate the master project (plist file) settings with those of the view controllers so that one view controller will auto-rotate while the other will not?
was depreciated in iOS 6 so if that’s what your project is running, that’s why it’s not working. What you need to do is implement:
The first one will tell the controller what orientation(s) it is allowed to use, and the second will tell it which one to use first. Note that the first method is only called if the method shouldAutorotate: returns YES.
These are the constants you can use for supportedInterfaceOrientations:
Note that these only work on iOS 6.0.