I have a code in each view controller:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
also I changed supported device orientations in a plist.
What else could it be?
P.S. As I checked — notifications about rotation not sends anymore. Probably there is a conflict with some framework…
Check this out Why won’t my UIViewController rotate with the device?
And one remark, do not modify device orientations from plist, there is another way , select project , then Summary tab and then in Supported Device Orientations choose that you need. This way will automatically edit your plist.