Let’s say I have a label that contains “1877”. The way I have it now is that VoiceOver tells me the contents of the label is “one thousand eight hundred seventy seven”. What I’d like it to say is “Eighteen hundred seventy seven”.
Is there a way to let VoiceOver know that a certain number in a UILabel is supposed to be pronounced as a year?
D’oh. Figured it out by simply putting the word year in front of it.
My previous thinking was to set accessibilityLabel to a description of what the label shows and accessibilityValue with just the number.
In my example it was
accessibilityLabel = @"Minimum year"
accessibilityValue = @"1877"
Now I changed it to
accessibilityLabel = @"Minimum"
accessibilityValue = @"Year 1877"
which, I think, makes it easier to comprehend.