小编Jad*_*ade的帖子

缺少移动状态栏

我正在使用UWP .net核心.该应用程序在桌面上看起来很好,但在移动设备上有一个白色条纹而不是状态栏.

我读了一篇关于的帖子

StatusBar.GetForCurrentView().BackgroundColor = Colors.Black;
StatusBar.GetForCurrentView().BackgroundOpacity = 1; 
Run Code Online (Sandbox Code Playgroud)

但Visual Studio找不到"StatusBar".我能做什么?

谢谢

c# mobile xaml .net-core uwp

3
推荐指数
1
解决办法
45
查看次数

标签 统计

.net-core ×1

c# ×1

mobile ×1

uwp ×1

xaml ×1