开发者

Manually rotating a UIView in response to orientation change? (Not AutoRotate)

I have an OpenGL view that I would like to manually modify and redraw in response to a device orientation change. How can I accomplish this? If I return YES from shouldAutorotateToInterfaceOrientation:, the syst开发者_运维知识库em does its stock rotation animation, which I don't want. I just want to get a notification and then adjust my openGL scene to match the new orientation. Is this possible, and if so, how?


Observe the UIDeviceOrientationDidChangeNotification notification

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜