In my universal application
, I am creating a camera overlay view
over my camera interface. Note that My app is locked for portrait mode
. However, when I change the interface orientation of iPad, the overlay also rotates with it. But i don't want that!
How to stop it from rotating with rotation in interface?
this is how the overlay looks in portrait on iPAD (with home button down):
And this is how rotates in landscape on iPAD (with home button on left):