From 8108700f67ddbe1724ee0b1000d9e55a844f6f28 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 30 十一月 2021 15:32:42 +0800 Subject: [PATCH] 提测版本 --- SiriIntentsUI/IntentViewController.cs | 46 ---------------------------------------------- 1 files changed, 0 insertions(+), 46 deletions(-) diff --git a/SiriIntentsUI/IntentViewController.cs b/SiriIntentsUI/IntentViewController.cs index 18864b6..42435b9 100644 --- a/SiriIntentsUI/IntentViewController.cs +++ b/SiriIntentsUI/IntentViewController.cs @@ -16,20 +16,6 @@ { } - //public override void ViewDidLoad() - //{ - // base.ViewDidLoad(); - - // // Do any required interface here. - //} - - //public override void DidReceiveMemoryWarning() - //{ - // // Releases the view if it doesn't have a superview. - // base.DidReceiveMemoryWarning(); - - // // Release any cached data, images, etc that aren't in use. - //} [Export("configureWithInteraction:context:completion:")] public void Configure(INInteraction interaction, INUIHostedViewContext context, Action<CGSize> completion) { @@ -66,38 +52,6 @@ if (completion != null) completion(true, parameters, size); - - //var intent = interaction.Intent as OrderSoupIntent; - //if (intent is null) - //{ - // completion(false, new NSSet<INParameter>(), CGSize.Empty); - //} - - //var order = Order.FromOrderSoupIntent(intent); - - //foreach (var view in View.Subviews) - //{ - // view.RemoveFromSuperview(); - //} - - //// Different UIs can be displayed depending if the intent is in the - //// confirmation phase or the handle phase. - //var desiredSize = CGSize.Empty; - - //if (interaction.IntentHandlingStatus == INIntentHandlingStatus.Ready) - //{ - // desiredSize = DisplayInvoice(order, intent); - //} - //else if (interaction.IntentHandlingStatus == INIntentHandlingStatus.Success) - //{ - // var response = interaction.IntentResponse as OrderSoupIntentResponse; - // if (!(response is null)) - // { - // desiredSize = DisplayOrderConfirmation(order, intent, response); - // } - //} - - //completion(true, parameters, desiredSize); } -- Gitblit v1.8.0