使用UIAppearance方法自定义UIAlertView [英] use UIAppearance methods for customizing UIAlertView
本文介绍了使用UIAppearance方法自定义UIAlertView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道 UIAlertView
符合 UIAppearance
和 UIAppearanceContainer
.
但是如何使用 UIAppearance
定制/样式化 UIAlertView
?我无法在网上找到它.
But how do I use UIAppearance
to customize/style UIAlertView
? I am not able to find it over the net.
推荐答案
您不能使用 UIAppearance
自定义 UIAlertView
.
UIAlertView
仅显示为具有 UIAppearance
,因为 UIView
符合 UIAppearance
和 UIAlertView
是 UIView
的子类.
UIAlertView
only shows as having UIAppearance
because UIView
conforms to UIAppearance
and UIAlertView
is a subclass of UIView
.
它实际上并没有实现.
这篇关于使用UIAppearance方法自定义UIAlertView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文