Skip to content

Instantly share code, notes, and snippets.

@BasThomas
Last active July 10, 2019 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BasThomas/b3292e5060b5e7aa1f4600632a676959 to your computer and use it in GitHub Desktop.
Save BasThomas/b3292e5060b5e7aa1f4600632a676959 to your computer and use it in GitHub Desktop.
/*
Returns the localized label(s) that should be provided by the user to refer to this element.
Use this property when the accessibilityLabel is not appropriate for dictated or typed input.
For example, an element that contains additional descriptive information in its accessibilityLabel can return a more concise label.
The primary label should be first in the array, optionally followed by alternative labels in descending order of importance.
If this property returns an empty or invalid value, the accessibilityLabel will be used instead.
default == an empty array
default on UIKit controls == an array with an appropriate label, if different from accessibilityLabel
*/
@available(iOS 13.0, *)
open var accessibilityUserInputLabels: [String]!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment