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?