我知道UIAlertView
符合UIAppearance
和UIAppearanceContainer
。
但是,如何使用UIAppearance
自定义/设置UIAlertView
的样式?我无法在网上找到它。
最佳答案
您不能使用UIAppearance
自定义UIAlertView
。UIAlertView
仅显示为具有UIAppearance
,因为UIView
符合UIAppearance
且UIAlertView
是UIView
的子类。
它实际上并没有实现它。