wxr
2023-04-11 f1173fc28f51e5845a0d1f0b0f6280a714696fda
增加IOS关掉根view以外的界面
1个文件已修改
18 ■■■■ 已修改文件
HDL_ON/Common/HDLCommon.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/Common/HDLCommon.cs
@@ -433,6 +433,14 @@
        /// </summary>
        public void CheckLogout()
        {
#if __IOS__
            try{
                HDL_ON_iOS.AppDelegate.rootViewController.PopToRootViewController(false);
            }catch(Exception ex){
                MainPage.Log($"回到跟类失败:{ex.Message}");
            }
#endif
            //测试账号,不挤下线
            switch (UserInfo.Current.AccountString)
            {
@@ -591,9 +599,9 @@
        }
        #endregion
#endregion
        #region ■ 常用方法_______________________
#region ■ 常用方法_______________________
        /// <summary>
        /// 设置下划线按钮状态
        /// 统一封装设置方法
@@ -668,9 +676,9 @@
                Control.Ins.SearchLoaclGateway();
            }
        }
        #endregion
#endregion
        #region 跳转打开萤石云方法
#region 跳转打开萤石云方法
        /// <summary>
        /// 获取子账号token并跳转设备列表页面
@@ -791,6 +799,6 @@
            { IsBackground = true }.Start();
        }
        #endregion
#endregion
    }
}