Hi Everyone !
I`m just finishing the development of my app on Corona , and it is almost ready to go for de AppStore.
But, I`m having a small issue on orientation changes.
Here is the deal :
IF THE FIRST orientation change os the screen is LATERAL (pulling up some side of the device) , the iPad rotates, but the corona doesn`t.
The subsequent rotations ocurrs naturally. And if the first rotation is natural ( rotation like the simmulator ) the error doesn`t ocurr.
Here is a video
http://www.youtube.com/watch?feature=player_embedded&v=JKg9Pmmpv9w
The code is
local function onOrientationChange( event )
if event.type == “faceUp” or event.type == “faceDown” then
rebuild()
end
if math.abs(event.delta) > 85 then
rebuild()
end
end