开发者

Set orientation of volume indicator for iPhone glES game

I'm subclassing UIView using the standard EAGLView framewo开发者_运维技巧rk. When I detect orientation changes, I just add a rotation to my OpenGL stack. However, when the user adjusts the volume using the physical iPhone buttons, the volume indicator is (naturally) not rotated by the GL stack.

How do I rotate the volume indicator?


This is all keyed off of the UIApplication.statusBarOrientation property, which you can set.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜