-
Notifications
You must be signed in to change notification settings - Fork 49
Accessibility
iOS offers accessibility features for people with disabilities. StatusAlert supports some of them. To learn how to use them read on.
If "Reduce Transparency" mode is on, all blur effects will be disabled regardless of your code.
By default, StatusAlert uses blurred background. To provide custom background color to use in "Reduce Transparency" mode you can set backgroundColor
property for alert appearance (See Appearance for more details).
"VoiceOver" provides to every element on the screen the ability to pronounce something, describing its content or helping to understand what's going on.
To provide message to be announced when alert appears use alert's accessibilityAnnouncement
property.
EXAMPLE
alert.accessibilityAnnouncement = "StatusAlert is successfully shown, congratulations!"
This message will be pronounced at once alert did appear.