From 19b211e5a9a5ff9c844a96a5d5e0230ca3628b80 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 25 五月 2023 14:56:11 +0800 Subject: [PATCH] ios 短信自动填充 --- HDL_ON/UI/MainPage.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index e69a4b8..d9e600b 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -204,6 +204,21 @@ // Application.HideSoftInput(); //}); } + + try + { + CommonClass.excptionAction = (obj) => + { + Application.RunOnMainThread(() => + { + Stan.HdlMessageLogic.Current.ShowAppProgramIsError(obj); + }); + }; + } + catch (Exception ex) + { + + } } /// <summary> -- Gitblit v1.8.0