accessibilityLabel(for:)
A localized accessibility label converting a specific detection type into a broad category such as a person, pet, and so on.
Declaration
static func accessibilityLabel(for detectionType: CNDetectionType) -> StringParameters
- detectionType:
The type of object to detect, such as the face, torso, cat, dog, and so on.
Return Value
A string representing a localized accessibility label converting a specific detection type into a broad category such as a person, pet, and so on.