xamarin / urho

Code to integrate with the Urho3D engine
Other
462 stars 122 forks source link

Showing UrhoSurface shows status bar on iOS #404

Open btschumy opened 4 years ago

btschumy commented 4 years ago

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.