Question

I'm having a few issues with stopping rotation in both ios 5 and ios 6. I want to lock the app into portrait. I'm using a nav bar based application, but the nav bars on some pages are hidden (if that makes a difference).

I'm not quite sure what edits to make in the app delegate, to disable autorotation and lock it into portrait to target these versions of iOs, any ideas?

Was it helpful?

Solution

Have you checked .info plist file?,if not then see supported inteface orientation and discard orientations which you don't want in your app.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top