Xamarin UI上方的空白
我创建了一个Xamarin.Forms应用程序,当我在运行build 14393的Windows10 mobile中启动该应用程序时,我看到了额外的空白,而不是电池和其他指示器 您必须将UWP的Windows Mobile扩展包含在Windows UWP项目中 修改Windows UWP项目的App.xaml.cs的OnLaunched,并添加以下内容:Xamarin UI上方的空白,xamarin,xamarin.forms,Xamarin,Xamarin.forms,我创建了一个Xamarin.Forms应用程序,当我在运行build 14393的Windows10 mobile中启动该应用程序时,我看到了额外的空白,而不是电池和其他指示器 您必须将UWP的Windows Mobile扩展包含在Windows UWP项目中 修改Windows UWP项目的App.xaml.cs的OnLaunched,并添加以下内容: if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusB
if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
var statusBar = StatusBar.GetForCurrentView();
if (statusBar != null)
{
statusBar.BackgroundOpacity = 1;
statusBar.BackgroundColor = Colors.Black;
statusBar.ForegroundColor = Colors.White;
}
}
不确定你真正的问题是什么:你没有显示屏幕截图,没有代码。。。没有什么请用更多信息编辑你的问题,在这个问题因为不清楚你在问什么而结束之前。