StatusBar statusbar = StatusBar.GetForCurrentView();
await statusbar.HideAsync();
只能在后台代码中实现,前台xaml不支持设置隐藏了。
若要全部页面隐藏可以写在app,xaml.cs 文件内。
代码放在 OnLunch() 方法内部就可以了。
StatusBar statusbar = StatusBar.GetForCurrentView();
await statusbar.HideAsync();
只能在后台代码中实现,前台xaml不支持设置隐藏了。
若要全部页面隐藏可以写在app,xaml.cs 文件内。
代码放在 OnLunch() 方法内部就可以了。
转载于:https://www.cnblogs.com/witchy/p/4046689.html