我正在使用UWP .net核心.该应用程序在桌面上看起来很好,但在移动设备上有一个白色条纹而不是状态栏.
我读了一篇关于的帖子
StatusBar.GetForCurrentView().BackgroundColor = Colors.Black;
StatusBar.GetForCurrentView().BackgroundOpacity = 1;
Run Code Online (Sandbox Code Playgroud)
但Visual Studio找不到"StatusBar".我能做什么?
谢谢