user616860
user616860

Reputation: 309

UIPicker not getting data

having trouble with a double component uipicker, everything shows up and it fills with the right data, but when you click the DONE button, it defaults to row 0, dont know what im doing wrong or if im missing something any help will be appreciated

http://jptarry.com/iPhoneTest/picker.zip

Upvotes: 0

Views: 112

Answers (2)

dks1725
dks1725

Reputation: 1631

You forgot to bind picker in XIB with file owner..

Upvotes: 0

Matthias Bauch
Matthias Bauch

Reputation: 90117

You forgot the connection from doublePicker to the actual UIPickerView.

Open Interfacebuilder and connect the doublePicker outlet of the File Owner with the PickerView.

You should have read the comment by Chiefly Izzy.

Upvotes: 2

Related Questions