Search code examples
iphoneioscustomizationuialertviewuiappearance

use UIAppearance methods for customizing UIAlertView


I know that UIAlertView conforms to UIAppearance and UIAppearanceContainer.

But how do I use UIAppearance to customize/style UIAlertView? I am not able to find it over the net.


Solution

  • You can't use UIAppearance to customise UIAlertView.

    UIAlertView only shows as having UIAppearance because UIView conforms to UIAppearance and UIAlertView is a subclass of UIView.

    It doesn't actually implement it though.