WP8.1开发系列之隐藏顶部状态栏

StatusBar statusbar = StatusBar.GetForCurrentView();
await statusbar.HideAsync();

只能在后台代码中实现,前台xaml不支持设置隐藏了。

若要全部页面隐藏可以写在app,xaml.cs 文件内。

代码放在 OnLunch() 方法内部就可以了。

posted @ 2014-10-23 20:04  cqiNet  阅读(230)  评论(0编辑  收藏  举报