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