In XCode4.2 + iOS5 SDK, I set “Supported Device Orientation” to be “Portrait” only. I expect that would make all views in the application to only support “Portrait” orientation. However, while I rotate the iPhone simulator, I found that other orientations still work.
It seems that the method shouldAutorotateToInterfaceOrientation in ViewController is the key to decide whether given orientation is supported. So, why bother to have “Supported Device Orientation” setting in the application level if doesn’t limit orientation?
Here’s a quote from documentation for UISupportedInterfaceOrientations property:
E.g. this property determines possible orientations your application may be launched in (it’s actually most used on iPad). The latter orientation changes are up to your ViewControllers.