I want set interfaceOrientation in one UIView as LandscapeLeft and Portrait in other UIView. How can I do this?
Or maybe change view to new, that designed for portrait on rotating iphone in this mode? how?
I want set interfaceOrientation in one UIView as LandscapeLeft and Portrait in other UIView. How can I do this?
Or maybe change view to new, that designed for portrait on rotating iphone in this mode? how?
You can apply a transform to your views to rotate them the way you want them.
Example:
[aView setTransform:CGAffineTransformMakeRotation(-M_PI_2)]
Or are you asking how to swap views when the orientation changes? (Your question isn't phrased so clearly.) In that case in your view controller implement the method -willRotateToInterfaceOrientation:duration:
and use -addSubview:
and -removeFromSuperview
to show the view you'd like to use for the given orientation.