| | |
| | | { |
| | | 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")) { |
old mode 100755
new mode 100644
| | |
| | | }
|
| | | var newVersion = results[0]["version"]?.ToString();
|
| | | var updateContent = results[0]["releaseNotes"]?.ToString();
|
| | | if (newVersion != CommonPage.CodeIDString)
|
| | | if (newVersion.CompareTo(CommonPage.CodeIDString) > 0) |
| | | {
|
| | | return true;
|
| | | }
|
old mode 100755
new mode 100644
| | |
| | | public VerticalFrameControl(int i_rowSpace = 0)
|
| | | {
|
| | | rowSpace = Application.GetRealHeight(i_rowSpace);
|
| | | #if iOS
|
| | | //自动偏移取消 |
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) |
| | | { |
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never; |
| | | } |
| | | #endif
|
| | | }
|
| | |
|
| | | /// <summary>
|
old mode 100755
new mode 100644
| | |
| | | {
|
| | | rowSpace = Application.GetRealHeight(i_rowSpace);
|
| | | this.VerticalScrollBarEnabled = false;
|
| | | |
| | | #if iOS
|
| | | //自动偏移取消 |
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) |
| | | { |
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never; |
| | | } |
| | | #endif
|
| | | }
|
| | |
|
| | | /// <summary>
|
old mode 100755
new mode 100644
| | |
| | | public VerticalListControl(int i_rowSpace = 0)
|
| | | {
|
| | | this.rowSpace = Application.GetRealHeight(i_rowSpace);
|
| | | #if iOS
|
| | | //自动偏移取消 |
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) |
| | | { |
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never; |
| | | } |
| | | #endif
|
| | | }
|
| | |
|
| | | #endregion
|
old mode 100755
new mode 100644
| | |
| | | {
|
| | | this.rowSpace = Application.GetRealHeight(i_rowSpace);
|
| | | this.VerticalScrollBarEnabled = false;
|
| | | #if iOS
|
| | | //自动偏移取消 |
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) |
| | | { |
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never; |
| | | } |
| | | #endif
|
| | | }
|
| | |
|
| | | #endregion
|