Q:

iPhone app - Support Portrait Orientation Only With Storyboard

new to iPhone and having difficulty with making an iPhone app only support portrait.
I'm using storyboarding and targeting iOS5+.
I've had a good look on here, and the suggestions for other people haven't worked for me.
I've tried implementing
 -(BOOL)shouldAutorotateToInterfaceOrientation:UIInterfaceOrientation)interfaceOrientation       
 {
      return NO;
 }

on view controllers, and changing my info.plist to
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>

but no joy. 
In the storyboard I've also chosen portrait in the attributes editor.
Any more ideas?
Many thanks,
    Jordan

A:

Have you tried using the orientation buttons that show up when selecting your target on xCode4?

