From a7e8f9ea1b9d0b9c8e9c09a8101e65c59a475465 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 09 七月 2020 17:07:31 +0800
Subject: [PATCH] 2020-07-09-01
---
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