Orientation in iPhone?
In my application, I use Orientation, I have to change the size of the controls according to the orientation. I have used a flag and according to that flag I change the size of t开发者_运维问答he controls. But my doubt is, will this orientation affect every time, when user rotates the phone?
I think, better you use
view.autoresizingMask
instead of changing the view sizes wrt orientation. Otherwise, it will change the size, but still, the orientation-size code will be called again n again.
精彩评论