xamarin/urho

Showing UrhoSurface shows status bar on iOS

btschumy opened this issue · 0 comments

I've been having a battle with the status bar on iOS. I would like it hidden in the app. However, it kept getting shown for some reason. I finally tracked it down to the call:

        urhoApp = await galaxySurface.Show<GalaxyUrhoApp>(new ApplicationOptions(assetsFolder: "Data")
        {
            Orientation = ApplicationOptions.OrientationType.LandscapeAndPortrait
        });

For some reason this is unhiding the status bar. I've tried various tricks to hide it again afterwards, but nothing seem t work perfectly. There is always a brief flash of the status bar before being hidden again.

Could someone look into why the status bar is being shown by this? It doesn't seem like it should.