开发者

change the portrait to landscape and vice versa

开发者 https://www.devze.com 2022-12-21 04:14 出处:网络
I am new to iphone. I want change the view from portrait to landscape and vise versa depends upon device view position. In my app, I am using different kinds views, view controllers, table view contro

I am new to iphone. I want change the view from portrait to landscape and vise versa depends upon device view position. In my app, I am using different kinds views, view controllers, table view controller, web view and so on. For achieve that where i want to put 开发者_运维百科the shouldAutorotateToInterfaceOrientation method? is it necessary to put all the .m class file? or enough to put any one .m file? else what i want to do? please any one give soln.

Note: In landscape view, not able to set the size for whole device view.


shouldAutorotateToInterfaceOrientation: should be included in any view controller classes that you would like to be able to rotate.

0

精彩评论

暂无评论...
验证码 换一张
取 消