From 2450c12c825ad4d78d1572da2fa421706db2df2f Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 18 六月 2020 16:01:14 +0800 Subject: [PATCH] 新代码 --- ZigbeeApp/Home.Ios/MainViewController.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Home.Ios/MainViewController.cs b/ZigbeeApp/Home.Ios/MainViewController.cs index 151b277..8304520 100644 --- a/ZigbeeApp/Home.Ios/MainViewController.cs +++ b/ZigbeeApp/Home.Ios/MainViewController.cs @@ -12,6 +12,12 @@ { base.ViewDidLoad(); + //11.0鐗堟湰浠ヤ笅鑷姩鍋忕Щ鍙栨秷 + if (!UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) + { + this.AutomaticallyAdjustsScrollViewInsets = false; + } + if (NSLocale.PreferredLanguages[0].Contains("zh-")) { //if (NSLocale.PreferredLanguages [0].Contains (@"zh-") && NSLocale.PreferredLanguages [0].Contains (@"-CN")) { -- Gitblit v1.8.0