Example #1
0
 public void Selected(DialogViewController dvc, UITableView tableView, NSIndexPath path)
 {
     if (InputControl != null)
     {
         InputControl.InvokeOnMainThread(() => { InputControl.BecomeFirstResponder(); });
     }
 }
Example #2
0
        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);
        }