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.
精彩评论