Reputation: 1098
The App has been released to public for months without any problem. But recently I found it can rotate screen on iPad when running iOS 9 or later. And it works without such problem on iPhone.
Is it a bug of iOS 9? or I make something wrong?
override func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
return UIInterfaceOrientationMask.Portrait
}
override func shouldAutorotate() -> Bool {
return false
}
Upvotes: 1
Views: 442
Reputation: 10317
If the Devices is Universal, it doesn't show the Orientation for both iPhone and iPad.
You should choose Devices is iPad, and set up Device Orientation.
Upvotes: 2