I have a textField with a pickerView as the inputView.
Now when I have the voiceover on and select the textField, the voiceover will read this: "Quantity: 3 (content of the textField)", then "textField", then "Double tap to edit".
Is there anyway to make the voiceover just reads the content and skip the following "textField. Double tap to edit"?
I have tried to give the textField another UIAccessibilityTraits/Hints and they are not working.
Thanks!
Assuming your text field is a subclass of UITextField, you're looking for the static text trait.
UITextField* aTextField = .....
aTextField.accessibilityTraits |= UIAccessibilityTraitStaticText;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With