开发者

UIPickerView in UIAlertView?

Is it possible to put UIPickerView into UIAlertView?If yes, 开发者_StackOverflow社区can you give an example?


There's an example here of adding a UITableView, you should be able to adapt it to suit your purposes.


but in UIActionSheet

[actionSheet addSubview:pickerMoney];

Heading


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.


No, UIAlertView only has buttons and you can only set their titles.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜