in the iPhone app, i have both the text field and picker in the same window. I want the picker popup to disappear when user clicks on textfield and keyboard appears. Similarly keyboard should disappear and picker popup should come up when user clicks on picker. Any sample code?
A:
You have to use textfielddidbeginEditing method. In which you can if condition for identifying textfield and on the basis of that return yes if you want to show keyboard and return no if you dont want to display keyboard. Here if you return no than keyboard will not display same time you can show your picker with your custom code.
Hope this will help you.
Dipak Vyas
2010-09-09 12:35:56
Thanks Dipak that certainly helps
Pilu
2010-09-15 15:36:04