Use UIPickerView To Limit Input For UITextfield

In your view controller, adopt the UIPickerViewDelegate, UIPickerViewDataSource, and UITextFieldDelegate