Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Set different supportedInterfaceOrientations for UIViewControllers
So, as by the question, I use the following code to set userinterfaceOrientation for the viewcontrollers.
- (BOOL) shouldAutorotate
I tried setting UIInterfaceOrientationMaskAll for another viewController.
Prior, I checked all the items for 'Supported interface orientations' in the 'info-plist'. Both the viewControllers returned true(as set in the info-plist) for all the orientations and didn't obey the above code. It worked even in the absence of the above code.
Is there anyway to restrict certain Supported interface orientations for particular classes? I made it working for the 'pre - iOS6' versions by following as in this link