From 207b7261e989e4271578eddb933b33ba008379bb Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 22 十一月 2021 14:14:25 +0800 Subject: [PATCH] 1 --- HDL-ON_iOS/Other/SkipControl.cs | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/HDL-ON_iOS/Other/SkipControl.cs b/HDL-ON_iOS/Other/SkipControl.cs index 0de65c3..c3fc220 100644 --- a/HDL-ON_iOS/Other/SkipControl.cs +++ b/HDL-ON_iOS/Other/SkipControl.cs @@ -1,5 +1,8 @@ 锘縰sing System; using CoreGraphics; +using Foundation; +using Intents; +using IntentsUI; using Other.Siri; using UIKit; @@ -13,22 +16,16 @@ public void SkipSiriView() { - var user = new SiriBaseView(); - user.View.BackgroundColor = UIColor.Magenta; + //var user = new SiriBaseView(); + //user.View.BackgroundColor = new UIColor(242, 243, 247, 1); - var btn = UIButton.FromType(UIButtonType.System); - btn.Frame = new CGRect(20, 200, 280, 44); - btn.SetTitle("Click Me", UIControlState.Normal); + //HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(user, true); - HDL_ON_iOS.AppDelegate.rootViewController.NavigationBarHidden = true; - HDL_ON_iOS.AppDelegate.rootViewController.NavigationBarHidden = false; - HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(user, true); - btn.TouchUpInside += (sender, e) => - { - }; + //vc.TitleName + //PresentViewController(vc, true, null); + //HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(vc, true); - user.View.AddSubview(btn); } } } -- Gitblit v1.8.0