开发者

how to solve problem with modelview controller

hi i am new to iphone. what i did is creating a class with name classA. In viewdidload of classA i declare a modelview controller and display some text and h开发者_如何学Cide the model view controller afetr 4 sec and create another view in the viewdidload.this is fine but while rotating the simulator to landscape mode simulator automatically rotates to portrait and after 4 sec it back to landscape mode. I already write (Bool)shouldAutoRotateToInterfaceOrientation function.how can i solve this pls help me.


be sure you set your view's autoresizingmask correctly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜