iphone - How to autorotate UIScrollView and UIImagewView programatically? -


I have a UIScrollView and a UIImageView, which I have created without any interactive builder program, how can I make sure That auto-rotate both horizontal orientation?

If you are subclassing UIViewController, even programmatically, Should just be sure to set the autresizing mask on the scroll view and the image view so that the mask is set to UIViewAutoresizingFlexibleWidth. UIViewAutoresizingFlexibleHeight If you want to optimize new screen dimensions.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -