diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-03-24 14:29:22 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-03-24 14:47:36 +0900 |
commit | 161a8e0f544b44f848d4c68ac9637d3a8b3f2520 (patch) | |
tree | 9a61043f0e27ef4f9855fcc1fc70693b12f10f4f /Xamarin.Forms.Maps.iOS/FormsMaps.cs | |
parent | 20daaa5702a27d1a9c7cf9dfacfdfa254ac0e5e3 (diff) | |
download | xamarin-forms-161a8e0f544b44f848d4c68ac9637d3a8b3f2520.tar.gz xamarin-forms-161a8e0f544b44f848d4c68ac9637d3a8b3f2520.tar.bz2 xamarin-forms-161a8e0f544b44f848d4c68ac9637d3a8b3f2520.zip |
Clean sync with 2.3.4-2
Change-Id: I6a7423d2690a1c30f46e0c128d9504a2464f8f0b
Diffstat (limited to 'Xamarin.Forms.Maps.iOS/FormsMaps.cs')
-rw-r--r-- | Xamarin.Forms.Maps.iOS/FormsMaps.cs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Xamarin.Forms.Maps.iOS/FormsMaps.cs b/Xamarin.Forms.Maps.iOS/FormsMaps.cs index 0f5df423..19c0701e 100644 --- a/Xamarin.Forms.Maps.iOS/FormsMaps.cs +++ b/Xamarin.Forms.Maps.iOS/FormsMaps.cs @@ -1,18 +1,12 @@ -#if __MOBILE__ using UIKit; using Xamarin.Forms.Maps.iOS; -#else -using Xamarin.Forms.Maps.MacOS; -#endif namespace Xamarin { public static class FormsMaps { static bool s_isInitialized; -#if __MOBILE__ static bool? s_isiOs8OrNewer; - static bool? s_isiOs9OrNewer; static bool? s_isiOs10OrNewer; internal static bool IsiOs8OrNewer @@ -25,16 +19,6 @@ namespace Xamarin } } - internal static bool IsiOs9OrNewer - { - get - { - if (!s_isiOs9OrNewer.HasValue) - s_isiOs9OrNewer = UIDevice.CurrentDevice.CheckSystemVersion(9, 0); - return s_isiOs9OrNewer.Value; - } - } - internal static bool IsiOs10OrNewer { get @@ -44,7 +28,7 @@ namespace Xamarin return s_isiOs10OrNewer.Value; } } -#endif + public static void Init() { if (s_isInitialized) |