How to let Voice-Over spell a word?

By sebastian, 23 October, 2018

Forum
App Development and Programming

Hi,

I currently working on an app for airports and I want to let voice-over speak the iata airport code as individual letters. eg. J F K instead of trying to say it as a word JFK.
Is it even possible or necessary? Is there a gesture for this or should I do it in the code? How can I force voice-over to spell it?

thanks in advance for the help.

Options

Comments

By Lukas on Tuesday, October 23, 2018 - 05:49

Hi,
I'm not an iOS coder yet but I think the only currently feasible way to do it programmatically is to simply insert spaces between the individual letters of the word when triggering this functionality. Otherwise, though, the user can simply switch their rotor to words, locate the given word by swiping up and down, and then switch one item left to characters and read them one by one at their own pace by simply swiping down until the end of the word is reached.
Lukas

Thanks Lukas,
I will try to write a function which adds the text separated with spaces of an UILabel to the accessibilityLabel

By Lukas on Tuesday, October 23, 2018 - 05:49

In reply to by sebastian

Yeah, that should work pretty fine as far as I can tell. Making use of the accessibility label is a very good idea in general, in my opinion. That way, people who don't want to hear the extra, supposedly convenience information are not forced to listen to it anyway, and those who want it just have to wait for a second or so.
Lukas