Hi all,
I'm working on an iPhone app that uses Core Data. One of the view controllers allows the user to edit information about coffee, and it has a UITextField in which the user can enter one descriptive "tag" for the type of coffee.
I'd like to set up the UITextField to show the keyboard if the user clicks into the main area of the UITextField (to enter a new tag), and use a button as its rightView to display a UIPickerView that will allow the user to select from a list of known tags that have already been entered, i.e.:
---------------------------------------------
|This area should display keyboard | button |
---------------------------------------------
What I'm confused about is how to switch back and forth between the firstResponder keyboard and the UIPickerView and back again if the user clicks back and forth.
Surely someone out there has already done this, so any hints on how to set this up (or if I'm using the iPhone's UI elements correctly) would be great! Thanks!