UIActionSheet着色 [英] UIActionSheet Tinting

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

问题描述

任何人都知道在uikit中为uiactionsheet着色?

Anyone know anyway to tint uiactionsheet in uikit?

推荐答案

是的,因为它是一个UIView(由kmit描述)你可以使用以下命令:
addSubview,从而您可以添加自己的背景并使用sendSubviewToBack进行订购。 (你可以删除旧的背景:[[youralert.subviews objectAtIndex:0] removeFromSuperview])

Yes, because it's an UIView (as described by kmit) you can use the following commands: addSubview, thereby you can add your own background and order it back with sendSubviewToBack. (you can delete the old background by this: [[youralert.subviews objectAtIndex:0] removeFromSuperview])

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

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