Xamarin.forms, removing status bar in iOS 10 -


i'm using following code in appdelegate.finishedlaunching removing status bar in ios xamarin forms app:

  uiapplication.sharedapplication.setstatusbarhidden (true, uistatusbaranimation.none); 

this removes space used status bar, contents of status bar still being rendered.

at top of image (my app in portrait mode, brightness enhanced), can see clock, battery indicator, et al. being drawn right on app:

status bar drawn on top of app

how rid of this?

this page in forms app consists of single skcanvasview, if that's relevant.

add these options info.plist

<key>uistatusbarhidden</key> <true/> <key>uiviewcontrollerbasedstatusbarappearance</key> <false/> 

or

enter image description here


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -