多个红色/破坏性按钮UIActionSheet [英] Multiple red/destructive buttons UIActionSheet

查看:96
本文介绍了多个红色/破坏性按钮UIActionSheet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在iPhone应用程序的UIActionSheet中有超过1个红色破坏性按钮?

Is there any way to have more than 1 red "destructive button" in an iPhone app's UIActionSheet?

我需要在同一个动作中有不同的清除选项表格,一个删除所有内容,另一个删除较少,所以两者都需要为红色。

I need to have different clear options, in the same action sheet, one where it deletes everything and one where it deletes less, so both need to be red.

推荐答案

我刚创建了一个UIActionSheet for iPhone的简单可定制替代品,用于类似的情况。它不使用标准外观,但可以更改。可能对你有用。

I just created a simple customizable replacement for UIActionSheet for iPhone to use in a similar case. It does not use the standard appearance, but this can be changed. Probably it is of any use to you.

https://github.com/4marcus/WMActionSheet

这篇关于多个红色/破坏性按钮UIActionSheet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆