I’m trying to make and iOS app with both portrait and landscape views, but if I open it and change the orientation to Landscape, some buttons got offscreen, after going to IB and reordering the buttons, in Portrait they go off screen.
After googling, I dont have ANY ideia how to ‘change’ views according to orientation.
Could you guys give me some help?
Ah, also, Apple Support Documents seems pretty useless to me 😛
Thanks!
There a method
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation{}which is useful in such cases.