开发者

Change actions sheet's button size?

can we change button size of actionsheet, say i hv 4 buttons in actionsheet, than it will cover more than half screen with sheet, is there any other way to giv more than 3 buttons without capturing most of the screen?

开发者_Python百科regards


The API for UIActionSheet does not provide a way of adding your own custom UIButtons. Instead, you might want to look at creating your own custom version UIActionSheet - from scratch. It would be a pretty simple custom UIVIewController with a series of buttons (sized to your liking) and the presentation and dismissal would require a simple animation to slide in and out of view.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜