Wax is a nice framework, we can programming in lua on iOS. I try it on iPhone5, the code:
local frame =UIScreen:mainScreen():bounds()
always return 320*480. This is not right on iPhone5. How to return the correct frame of the device screen?
The Wax support the iPhone4, iPad? Or the Wax only support iPhone4s and below device?
After my search, I find the solution: add [email protected] to project.
I believe it's to do with the difference between points and pixels.
See That's the difference between points and pixels.