UISlider accessibility traits for VoiceOver?
问题 What are are the proper UIAccessibility traits and handlers required to make a UISlider usable with VoiceOver enabled? Are there any descriptions of how a user might use a UISlider with VoiceOver enabled? 回答1: Here's what I ended up adding to a UISlider for VoiceOver accessibility: [ mySlider setIsAccessibilityElement:YES ]; [ mySlider setAccessibilityLabel:@"This slider controls blah blah etc...." ]; And in the target method for the control event UIControlEventValueChanged: [ mySlider