Override VoiceOver message in UITextField - iOS Accessibilty
2 answers
You must set an accessibility label to describe the text field (as if it were a key) and an accessibility value for its value.
textField.accessibilityLabel = NSLocalizedString(@"Price", nil);
// textField.accessibilityValue = @"£24 per month";
textField.accessibilityValue = [self transformedPrice:textField.text];
-transformedPrice:
should do any operation to convert the actual text in your textbox to what should be used when transmitting voice. (Don't forget to localize)
+3
source to share