I have these dynamic accessibility text coming down from server and it could be as below.
Dial: 1-800-425-9456 Dial: 425-295-2958
On the client I am setting this to button controls accessibility Text. However, when voice over reads phone number with country code, it is reading the last hypen for 1-800-425-9456 (1 800 425 hypen 9456)
When it reads phone number without country code like 425-295-2958 , it just reads as 425 295 2958.
I want to make sure when a string containing phone number is read, the special characters like (),- etc within the phone numbers are not read. IOS contacts app does not read special characters except the + that prefixes country code some times.
The code I have is
button.accessibiityLabel = serverString
Any pointers on what more to do to avoid reading special characters within the phone number.
