Exemplo n.º 1
0
 public override void WillDisplay(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
 {
     if (URLTextField != null && URLTextField.IsFirstResponder)
     {
         URLTextField.ResignFirstResponder();
     }
     if (titleTextField != null && titleTextField.IsFirstResponder)
     {
         titleTextField.ResignFirstResponder();
     }
 }
Exemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            cameraSettings = new CameraSetting[] {
                new CameraSetting(new List <string> {
                    "640x480", "1280x720", "1920x1080", "Auto"
                }, 0),
                new CameraSetting(new List <string> {
                    "Back", "Front"
                }, 0),
                new CameraSetting(new List <string> {
                    "Once", "Continuous", "Off"
                }, 0)
            };

            URLTextField.EditingDidEndOnExit += (object sender, EventArgs e) => {
                titleTextField.BecomeFirstResponder();
            };
            titleTextField.EditingDidEndOnExit += (object sender, EventArgs e) => {
                URLTextField.BecomeFirstResponder();
            };
        }