Hi,
I'd like to have an on screen way for the user of my app to swap between locked portrait, locked landscape, and unlocked autorotate.
First off, is there any good existing code I can just throw in for this?
If not, here's what I have in mind:
A 3 segmented control that fades in at the top left corner when a rotation event occurs. If the user doesn't interact with it, it'll fade right out after a few seconds. But if the user does interact with it, it should force the interface to rotate whichever way the user says it should. Except I don't want the control to. The rest of the app, the keyboard, and the status bar should all rotate, but the control shouldn't (so accidental touches are quick to undo.) I think this might be accomplishable by placing it in a seperate UIWindow. Will this work? Is it a good idea?
I'd like to have an on screen way for the user of my app to swap between locked portrait, locked landscape, and unlocked autorotate.
First off, is there any good existing code I can just throw in for this?
If not, here's what I have in mind:
A 3 segmented control that fades in at the top left corner when a rotation event occurs. If the user doesn't interact with it, it'll fade right out after a few seconds. But if the user does interact with it, it should force the interface to rotate whichever way the user says it should. Except I don't want the control to. The rest of the app, the keyboard, and the status bar should all rotate, but the control shouldn't (so accidental touches are quick to undo.) I think this might be accomplishable by placing it in a seperate UIWindow. Will this work? Is it a good idea?