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.
How to disable rotation in a UISplitViewController?
Im having a tough time figuring this one out. I've followed all the basic steps to have my presentation on work in landscape mode. In my apps info.plist file all i have as supported interface orientations are LandscapeLeft and LandScapeRight. In each one of my view controllers i have the method shouldAutorotateToInterfaceOrientation only returning UIINterfaceOrientationsLandScapeLeft and UIInterfaceOrientationLandscapeRight. But for some reason i can still rotate the application. Anyone have any ideas as to why this is happening?
Im having a tough time figuring this one out. I've followed all the basic steps to have my presentation on work in landscape mode. In my apps info.plist file all i have as supported interface orientations are LandscapeLeft and LandScapeRight. In each one of my view controllers i have the method shouldAutorotateToInterfaceOrientation only returning UIINterfaceOrientationsLandScapeLeft and UIInterfaceOrientationLandscapeRight. But for some reason i can still rotate the application. Anyone have any ideas as to why this is happening?
Definitely have the follow code in your UISplitViewController?
There is no UISplitViewController. I created a New project in Xcode 4.3.2 called MasterDetailApplication. I searched throughout the whole project there is no code for it and also there is no object for it in any of the xib files. The last time i created oone of these was about 2 years ago and when i created a master detail application it was created with xib files automatically
Actually that worked fine my old code was (UIINterfaceOrientationLandscapeLeft | UIINterfaceOrientationLandscapeRight); i thought that should work but evidently not. So thank you once again for your help
Replies
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft ||
interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome