private async Task ShowStatusPopup() { var statusAlertController = new UIAlertController(); var data = new List <string> { "Active", "Done" }; var rootView = statusAlertController.View; var picker = new UIPickerView(); picker.Model = new StatusPickerViewModel(data); picker.TranslatesAutoresizingMaskIntoConstraints = false; rootView.AddSubview(picker); rootView.AddConstraints(picker.WithSameTop(rootView), picker.AtBottomOf(rootView, 100f), picker.WithSameLeft(rootView), picker.WithSameRight(rootView)); statusAlertController.AddAction(UIAlertAction.Create(ConstantsHelper.Ok, UIAlertActionStyle.Default, action => { var pickerModel = picker.Model as StatusPickerViewModel; _selectedStatus = pickerModel?.SelectedValue; _statusField.Text = _selectedStatus; })); statusAlertController.AddAction(UIAlertAction.Create(ConstantsHelper.Cancel, UIAlertActionStyle.Cancel, null)); await PresentViewControllerAsync(statusAlertController, true); }