ios - Is it possible to change views when the device is rotated? -
When the device is in portrait mode, I want to show text details about a graph, and when the user rotates it, So I want my
UIWebView to take the full screen. This functionality can be seen in the iOS stock app when you are in the picture, you can see all your stocks, and when the app landscapes , Then the full-size graph is shown. How do i do this
willRotateToInterfaceOrientation in your UIViewController sub-class override: view content appropriate To change with visual content for destination orientation. I suggest using [UIView transitionFromView: toView: ...] for smooth animation.
Comments
Post a Comment