From e08a444a9d7acea0cf39f50d22d29179f6a59292 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 01 十二月 2020 09:37:11 +0800
Subject: [PATCH] 2020-12-1

---
 HDL-ON_iOS/Other/JLCountrycode.cs |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/HDL-ON_iOS/Other/JLCountrycode.cs b/HDL-ON_iOS/Other/JLCountrycode.cs
new file mode 100644
index 0000000..f6a2451
--- /dev/null
+++ b/HDL-ON_iOS/Other/JLCountrycode.cs
@@ -0,0 +1,44 @@
+锘縰sing System;
+using Shared.IOS.JLCountryCode;
+
+namespace JLCountrycode
+{
+    public class CountryCodeView
+    {
+        /// <summary>
+        /// 
+        /// </summary>
+        private static CountryCodeView m_Current = null;
+        /// <summary>
+        /// 
+        /// </summary>
+        public static CountryCodeView Current
+        {
+            get
+            {
+                if (m_Current == null)
+                {
+                    m_Current = new CountryCodeView();
+                }
+                return m_Current;
+            }
+        }
+
+        /// <summary>
+        /// 鍥藉鍖哄彿閫夋嫨
+        /// </summary>
+        /// <param name="action"></param>
+        public void Show(Action<string, string> action)
+        {
+            JLCountryCodeController mJLCountryCodeController = new JLCountryCodeController();
+
+            mJLCountryCodeController.SelectCountryCodeBlock += (countryName, code) =>
+            {
+                action?.Invoke(countryName, code);
+            };
+
+            Shared.Application.currentVC.NavigationController.PushViewController(mJLCountryCodeController, true);
+
+        }
+    }
+}
\ No newline at end of file

--
Gitblit v1.8.0