I am using:
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
How would I use this for Portrait and Upside down in iOS6?
this works for landscape left UIInterfaceOrientationMaskLandscapeLeft
and this for Landscape right UIInterfaceOrientationMaskLandscapeRight
and this for both landscapes UIInterfaceOrientationMaskLandscape
You need to return a valid bitmask of the orientations you wish to support:
For portrait and portrait upside down:
You can see a list of the supported orientation masks
It’s important to note also, that you need to list portrait upside down in your supported orientations as well: