开发者

change the portrait to landscape and vice versa

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜