Ish*_*mas 1 c# xaml xamarin.ios xamarin xamarin.forms
如何从Xamarin.Forms的iOS项目中删除顶部栏?时间和“运营商”一词在哪里
..或至少测量其高度?
只是要确定..我不想看到电池,时间...我想将条形图隐藏在红色矩形中:
您可以在iOS Project 之后在AppDelegate.cs内部FinishedLaunching方法中添加以下代码: LoadApplication (new App ());
UIApplication.SharedApplication.StatusBarHidden = true;
Run Code Online (Sandbox Code Playgroud)
也将此添加到您的info.plist:
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
Run Code Online (Sandbox Code Playgroud)