I would like to be able to handle orientation changes in my current iPhone application. The problem is that I do not want my controller to be able to rotate or resize. When the orientation of the device changes, I just want one element of the user interface to rotate 90 degrees on the screen.
The Apple camera app is a great example of this — when you change the orientation of the device, all the buttons rotate, but the view itself does not rotate.
I suppose I could just resize the view, move all my elements around, and then animate the buttons, but I feel that there should be an easier way to do this.
Thanks in advance.
source
share