Facing Problem Switching Screen Orientation

when I use this block


When I press back It does not work properly(Still remains in landscape mode)

if I again back press it then it works. any solution ?

you have to put these block on when screen orientation change

Can you post a screenshot what are you trying to say.

image
Do like this

Did you tried your code ?

I want to change scree orientation when I press back. I think you did not understand my issue

Use when screen back pressed -
if orientation=portrait then set screen orientation to landscape or vice-versa.

Video component in full screen mode has its own back press function and thereby not captured by Screen Back press.

That’s why it works

bild

/Boban

1 Like

Thanks… It worked…:grinning:

1 Like

It will not work bro…

If it works, then you know what to do

/Boban

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.