How to use UIPickerview in xcode 4.2 storyboard?
11,704
Solution 1
This post takes you through the process w/xcode 4.2
UIPickerView - How to populate
Solution 2
I verified and it behaves the same for storyboards as it does for xib files. After adding the UIPickerView
to a view, right click it to reveal the delegate
and datasource
outlets. Double check that your UIViewController
for the view is a UIPickerViewDataSource
and UIPickerViewDelegate
, or you will not be able to attach these outlets unless it is.
Author by
user1123878
Updated on June 06, 2022Comments
-
user1123878 almost 2 years
I am trying to use a
UIPickerView
for my project but I can't figure out how to use them in the storyboard format. Does anyone know how to do that?