I’m developing an iPhone application which supports 2 orientations. I have 2 UIView files for this view controller. I need to set corresponding UIView file to the view controller according to the device interface orientation. Can you guide me on how to change the orientation?
I’m developing an iPhone application which supports 2 orientations. I have 2 UIView files
Share
Why do you want to use two views for both orientation? You can set autoresizemask properties of controls, if portrait and landscape both mode has similar control to be show at same place. Otherwise, you need to use two views in
or you can have notification of UIDevice