I am developing an app that uses the PickerView, but I can't figure out how to change what it says. Currently it just says "Cupertino, Sunnyvale, etc" and it won't go up or down. And when I do the simulator, it just shows up as a blue rectangle.
A:
You need to create a UIPickerViewDataSource and UIPickerViewDelegate to supply the data and configure the appearance of the picker view. The default text values are just what are shown in Interface Builder - once wired-up to a datasource/delegate the view should show your information when in the simulator.
teabot
2009-07-08 06:19:14
and how do i do that?
2009-07-08 07:05:00
You write a class that conforms to those two protocols.
teabot
2009-07-08 08:18:26