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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -