I am forcing the rotation to landscape by using supersonic.ui.rotation.rotateTo() in one view. When I came back from that view my screen is still in landcape mode and auto-rotate is not working. I want that view to work in both landscape and portrait mode


#1

I am forcing the rotation to landscape by using supersonic.ui.rotation.rotateTo() in one view. When I came back from that view my screen is still in landcape mode and auto-rotate is not working. I want that view to work in both landscape and portrait mode. Is there any commands available to do that? I already tried supersonic.allowed.rotation([lanscape, portrait]) but still that view is only in lanscape mode. I want this view to work based on sensor of phone.


#2

Rotation support is a bit glitchy, with big differences between the way iOS/Android handles it accentuating the problem. As such, Composer apps currently only support portrait mode officially, until we can tackle the rotation issue in a more holistic way. Sorry!


#3

Thank you for your comment and time , appreciated