问题描述
我有以下问题。当我启动应用程序时,我的内容没有出现,只有 Google Ad Mob 的横幅出现。 仅显示 GPS 许可消息,但不显示内容本身。
我使用的代码:
public MainPage()
{
InitializeComponent();
_restServiceForecast = new RestServiceForecast();
_ = displayHourlyForecastStartUp();
_ = ButtonClickedGPS();
co2lbl.Text = "CO2";
nolbl.Text = "NO";
no2lbl.Text = "NO2";
o3lbl.Text = "O3";
so2lbl.Text = "SO2";
pm2_5lbl.Text = "PM2_5";
pm10lbl.Text = "PM10";
nh3lbl.Text = "NH3";
frameFinePowders.IsVisible = false;
AdmobControl admobControl = new AdmobControl()
{
AdUnitId = AppConstants.BannerId
};
Label adLabel = new Label() { Text = "Ads will be displayed here!" };
Content = new StackLayout()
{
Children = { adLabel,admobControl }
};
this.Title = "Admob Page";
}
如何让横幅出现在我想要的某个框架下?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)