Reputation: 132
Is it possible to put UIPickerView into UIAlertView?If yes, can you give an example?
Upvotes: 0
Views: 4400
Reputation: 13457
Nope. But you can embed a picker in a UIActionSheet, which lets you give the user a nice slide up and slide down animation when showing or dismissing the picker.
There are a couple of good examples of the technique here and here.
Upvotes: 1
Reputation: 10069
There's an example here of adding a UITableView, you should be able to adapt it to suit your purposes.
Upvotes: 1
Reputation: 77201
No, UIAlertView only has buttons and you can only set their titles.
Upvotes: -2