Hello,
I am a new user of the EdgeLib, and I want to use it to make some iPad applications.
An iPad application must support at least 2 orientations to be validated and submitted.
So, I want to know how to rotate the application when the device's orientation change.
I have try many things :
- Use the callback OnDisplayChange, try to printf something inside, but this method's never called, so I don't understand what's the use of this callback.
- create a new class (.mm) and a method which check the UIDevice orientation. I call this method every frame (OnNextFrame), but the orientation of UIDevice never changes.
- I also try to add some options in the Info.plist as UISupportedInterfaceOrientations etc.. but nothing.
So what is the correct method to handle the orientation's change event?
Thanks in advance,
Raymond