using System; using CoreGraphics; using Foundation; using Intents; using IntentsUI; using Other.Siri; using UIKit; namespace Other { public class SkipControl { public SkipControl() { } public void SkipSiriView() { //var user = new SiriBaseView(); //user.View.BackgroundColor = new UIColor(242, 243, 247, 1); //HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(user, true); NSMutableArray list = new NSMutableArray(); foreach (var localScene in HDL_ON.Entity.FunctionList.List.scenes) { list.Add(new HDLSceneSiri.HDLSiriSceneModel() { UserSceneId = localScene.userSceneId, Name = localScene.name, }); } var vc = new HDLSceneSiri.HDLSiriSceneListViewController(); vc.DataSource = list; //vc.TitleName //PresentViewController(vc, true, null); HDL_ON_iOS.AppDelegate.rootViewController.PushViewController(vc, true); } } }