قالب وردپرس درنا توس
Home / IOS Development / Mitigating device rotation of a GLKit View Controller? : iOSProgramming

Mitigating device rotation of a GLKit View Controller? : iOSProgramming



I have a GLK View Controller with several UIButtons added as underviews. The behavior I'm looking for is to prevent rotation to GL View itself, so I do not have to adjust the display port and matrices, while allows UIButtons to rotate into a portrait or landscape configuration.

Does anyone know how to accomplish this?


Source link