My code for Portrait/UpsideDown orientation in Xcode 7.0.1 Obj-C is:
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown);
}
SLComposeViewController does not override supportedInterfaceOrientations and so it inherits the default implementation from UIViewController which returns UIInterfaceOrientationMaskAllButUpsideDown on iPhone
So I created a subclass of SLComposeViewController, but now how do I override supportedInterfaceOrientations?