I'm new here, and I have a question. I've searched the web and found answers for my problem who seem to work for others. but not for me.
I'm building an iPad app (Xcode 4.3.3 using storyboards) in landscape view (right) It launches in landscape-view but when i click a button (segue - Modal - Default) to jump to my next view the app jumps to portrait-view.
I've added this code and tried a lot of varieties (given on this website)
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); }
-Set my view controllers to landscape mode instead of inferred.
-added initial interface orientation to my plist file.
But whatever I do, nothing seems to work properly. What am I doing wrong?
I've uploaded my Xcode files to my server so you can check my code yourself. download zip.
I hope you guys can help me out, Thanks a bunch!
Mart