I know how to do an orientation change, but lets say you have a view with buttons, labels, ect. The autoresizing distorts and makes the view look strange. What’s the accepted way to do this, do I just create a portrait and landscape view. If so where would I actually do the swapping of these views.
Share
Do all kind of resizing and reposition in your
layoutSubviewsmethod ofUIView.Once the orientation is changed, your
layoutSubviewswould be called then you can know the current orientation by usingUIDeviceclass. and reposition your views child accordinglyUIDeviceproperty to be used for getting current orientation .