Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Set the orientation of the application — Gideros Forum

Set the orientation of the application

hunstalixhunstalix Member
edited March 2012 in General questions
Hi!

When I use it in my code:

application:setOrientation(application.PORTRAIT_UPSIDE_DOWN)

I can run it in the simulator but I can not test it on my device because it says:

attempt to call method 'setOrientation' (a nil value)
stack traceback:
main.lua:3: in main chunk

What's the problem with it?

Comments

Sign In or Register to comment.