WhileWindowLandscape does not trigger if the app is opened in landscape

I’m using the WhileWindowLandscape trigger to hide the iOS statusbar when the app is in landscape.

        <WhileWindowLandscape>
            <iOS.StatusBarConfig IsVisible="false" />
            <Set mxNavBar.Visibility="Collapsed"/>
        </WhileWindowLandscape>

However when i start our app in landscape it does not trigger.

Hi!

I’m not able to reproduce the issue. In the phones i have available, the app always launches in portrait mode and then quickly turns over. Do you have a complete test case at hand?

Sean: Does it work if you use <WhileWindowLandscape Bypass="Never"> ? The bypass setting should ensure that it triggers also when it starts in that state.

Bypass="Never"seemed to do the trick, thanks!