首页 > 解决方案 > How to hide status bar of splash screen in xamarin forms

问题描述

i am creating an xamarin forms app where i need full screen for the splash page. How to hide the status bar only in splash screen ?

标签: xamarinxamarin.forms

解决方案


It depends what you call status bar.

  • If you mean the navigation bar :

As I can remember, there's a static helper NavigationPage.SetHasNavigationBar(BindableObject, Boolean), it sets a value that indicates whether or not this NavigationPage element has a navigation bar. Check this link

  • If you mean the status bar (above the navigation bar) : As I know, you will need to implement it in each platform, check this answer for more informations

推荐阅读