开发者

UIPickerView in UIAlertView?

开发者 https://www.devze.com 2022-12-28 11:15 出处:网络
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 you

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

精彩评论

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

关注公众号