hide native orientation frame?

is there a way to hide the native black orientation frame.

I do like this in build.settings:

orientation =
{
default = “landscapeRight”,
content = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”,
},
},
I need to lock the corona canvas to landscapeRight in order to be able to disable orientation changes in some scenes in my game. The rest of the time I rotate the canvas manually on system.orientation events.

I also need the native orientation to change, because I use dialogs, video and keyboard… later on

But when I lock the canvas in my game the black border from the native orientation is still showing. [import]uid: 13632 topic_id: 15048 reply_id: 315048[/import]

find rotationfix.lua from code exchange it will help you [import]uid: 12482 topic_id: 15048 reply_id: 55679[/import]

Yes, I implemented a rotation fix similar to the one you are linking to, but my problem is that I need to disable the rotation at some point in my game, because my game uses device tilt for controlling the game character… So I wrote a function that disable the corona canvas rotation, but then the native orientation is still on… showing the black rotating frame.

So my question is: is it possible to hide this black frame or disable the native orientation change from within my game? [import]uid: 13632 topic_id: 15048 reply_id: 55702[/import]

are you saying ur game requires tilting this much that it can change orientation ??

if that was the case you should have to support only one orientation
and i dont think so there is any direct way to stop orientation for any particular screen you must have to go with ugly hack if there are [import]uid: 12482 topic_id: 15048 reply_id: 55706[/import]

yes tilting that much.
I already had a nice hack… if only I could get rid of that damn frame it would work perfectly.

thanks anyway

[import]uid: 13632 topic_id: 15048 reply_id: 55708[/import]

I also have the same problem with this black frame! Is there already revealed a way to disable it? [import]uid: 88330 topic_id: 15048 reply_id: 57866[/import]

No… I ended op locking my game in landscapeRight [import]uid: 13632 topic_id: 15048 reply_id: 57922[/import]

Oh… The problem is, that iOS have this feature, only coronoa would need to adopt it. I can’t lock my screen, cause it is one of the main features that the user can change the orientation of the game.

I can lock the native UI orientation, but in this case, when the button is pressed twice on the Device, the task manager (icons at the bottom) may appear on the wrong side.

Thanks anyway! [import]uid: 88330 topic_id: 15048 reply_id: 57959[/import]

Hi abel0

Not sure if I understand you correctly, but If you need both corona and native orientation to change orientation together… you can use the rotationfix in the code exchange: http://developer.anscamobile.com/code/proper-orientation-rotation-animation [import]uid: 13632 topic_id: 15048 reply_id: 58066[/import]