ofDeviceOrientationChanged
ofDeviceOrientationChanged listens for device-orientation changes on iOS and outputs a numeric orientation code whenever the orientation changes. The listener is enabled by default and can be toggled with setEnabled (0 or 1); setOrder changes its listening order, which defaults to 50.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forofeliaand install it. Then create an object withdeclare -lib ofelia -path ofelia. Finally, useofDeviceOrientationChangedor any other object fromofelia. - Available for .