Gabriel Garrett
Gabriel Garrett

Reputation: 2127

How do I disable landscape orientation in iPhone but keep it enabled on iPad?

I am looking to allow app rotation on an iPad, but would like to keep it disabled on the iPhone, as it is too narrow.

So far, I only see instructions on one device or the other, but not both.

Any ideas?

Upvotes: 14

Views: 1630

Answers (1)

Aaron Brager
Aaron Brager

Reputation: 66224

In Xcode 6 you have to edit Info.plist:

enter image description here

Upvotes: 32

Related Questions