public void Selected(DialogViewController dvc, UITableView tableView, NSIndexPath path) { if (InputControl != null) { InputControl.InvokeOnMainThread(() => { InputControl.BecomeFirstResponder(); }); } }
public override void InitializeContent() { _Dummy = new UICustomTextField(Bounds); _Dummy.ShouldBeginEditing = tf => { InputControl.BecomeFirstResponder(); return(false); }; InputControl = new UICustomTextField(Bounds) { BackgroundColor = UIColor.Clear, Tag = 1, Hidden = true }; ContentView = _Dummy; ContentView.AddSubview(InputControl); }