Hello, I am developing a iPhone (Utility Application) app using Xcode and Interface Builder (IB). I am using a UIPickerView in my app using IB. But I dont know how to connect UIPickerView in my app. Its show a empty picker. How can I connect data in UIPickerView? Plz tell me details...
+2
A:
You have to implement the UIPickerViewDataSource and UIPickerViewDelegate protocols to get data into your picker and know when the user makes a selection. Then in IB make the connection from the picker to the object that implements these protocols.
Bill Dudney
2009-02-12 13:30:20
Thanks 4 ur answer. can u send me some sample code.
Nahid
2009-02-13 05:56:01
Take a look at the LocateMe example
Bill Dudney
2009-02-13 14:34:54