Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Removing status bar in iOS 10

$
0
0

I found code online for removing the status bar in iOS (most of it very old), and while the background is removed, it's contents are still being rendered.

At the top of this image (my app in portrait mode, brightness enhanced), you can see the clock, battery indicator, et al. being drawn right over my app:

How do I get rid of this?

I'm currently using the following in main.cs to remove the status bar:

 UIApplication.SharedApplication.SetStatusBarHidden (true, UIStatusBarAnimation.None);

This is a Page in a Forms app that consists of a single SKCanvasView, if that's relevant.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>