Shay
Shay

Reputation: 2605

Behavior like calendar app in iphone

In the calendar app in the iphone, when you click in the starts/end cell, the picker is already fill with data with no delay?

How?

Upvotes: 0

Views: 238

Answers (1)

Brad Larson
Brad Larson

Reputation: 170317

Your question is not very clear. If you're asking how a UIPickerView can start with a certain value selected, you simply need to use UIPickerView's -selectRow:inComponent:animated: with animated set to NO within -loadView in your UIViewController (or whatever method fires when the view is presented on the screen).

Upvotes: 2

Related Questions