From dd3f6db0cb3c242758ab0000a0513e093f02531c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 18 十一月 2021 13:11:32 +0800 Subject: [PATCH] 合并成功 --- HDL-ON_iOS/Other/SkipControl.cs | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/HDL-ON_iOS/Other/SkipControl.cs b/HDL-ON_iOS/Other/SkipControl.cs index 0de65c3..408138f 100644 --- a/HDL-ON_iOS/Other/SkipControl.cs +++ b/HDL-ON_iOS/Other/SkipControl.cs @@ -1,5 +1,7 @@ 锘縰sing System; using CoreGraphics; +using Intents; +using IntentsUI; using Other.Siri; using UIKit; @@ -16,19 +18,11 @@ var user = new SiriBaseView(); user.View.BackgroundColor = UIColor.Magenta; - 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.NavigationBarHidden = true; HDL_ON_iOS.AppDelegate.rootViewController.NavigationBarHidden = false; - HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(user, true); - btn.TouchUpInside += (sender, e) => - { - }; + HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(user, true); - user.View.AddSubview(btn); + } } } -- Gitblit v1.8.0