mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-01-24 00:11:47 +08:00
582 B
582 B
MDCProgressView
-accessibilityValue
Like UIProgressView, MDCProgressView's accessibilityValue is based on the current value of the ProgressView's
progress property. Also like UIProgressView, this accessibilityValue takes the form of a whole number
percentage. To ensure the same behavior between the two classes, the MDCProgressView class has a static
UIProgressView that instances query for its accessibilityValue whenever they need to provide their own.
The ProgressView announces a new accessibilityValue whenever its progress changes if VoiceOver is on.