private void InitElements() { // Enable back navigation using swipe. NavigationController.InteractivePopGestureRecognizer.Delegate = null; backBn.Frame = new Rectangle(0, Convert.ToInt32(View.Frame.Width) / 20, Convert.ToInt32(View.Frame.Width) / 8, Convert.ToInt32(View.Frame.Width) / 8); backBn.TouchUpInside += (s, e) => this.NavigationController.PopViewController(true); backBn.ImageEdgeInsets = new UIEdgeInsets(backBn.Frame.Height / 3F, backBn.Frame.Width / 2.5F, backBn.Frame.Height / 3F, backBn.Frame.Width / 2.5F); mainTextTV.Text = "Укажите email"; mainTextTV.Font = UIFont.FromName(Constants.fira_sans, 22f); infoLabel.Text = "Мы отправим вам ссылку" + "\r\n" + "для входа в приложение"; EmailTextField.Placeholder = "Email"; EmailTextField.TextColor = UIColor.White; EmailTextField.ReturnKeyType = UIReturnKeyType.Done; EmailTextField.ShouldReturn = _ => EmailTextField.EndEditing(true); View.BackgroundColor = UIColor.FromRGB(36, 43, 52); nextBn.BackgroundColor = UIColor.FromRGB(255, 99, 62); nextBn.Font = UIFont.FromName(Constants.fira_sans, 15f); nextBn.SetTitle("Продолжить", UIControlState.Normal); activityIndicator.Color = UIColor.FromRGB(255, 99, 62); activityIndicator.Hidden = true; }