Is there any way to detect if the app is started in portrait or lanscape ?
for example i want to start one file if in landscape or another file if in portrait
Is there any way to detect if the app is started in portrait or lanscape ?
for example i want to start one file if in landscape or another file if in portrait
Hi Jonathan,
Yes, you can use the system.orientation call:
http://docs.coronalabs.com/api/library/system/orientation.html
Best regards,
Brent
Hi Jonathan,
Yes, you can use the system.orientation call:
http://docs.coronalabs.com/api/library/system/orientation.html
Best regards,
Brent