Re: VoiceOver: speaking text for symbol character UITableViewIndexSearch
Re: VoiceOver: speaking text for symbol character UITableViewIndexSearch
- Subject: Re: VoiceOver: speaking text for symbol character UITableViewIndexSearch
- From: Matthias Schmitt <email@hidden>
- Date: Wed, 16 May 2012 07:29:31 +0200
Hello,
>> // added before 'return indexList'
>> NSString *glass = [NSString stringWithFormat:@"%@", UITableViewIndexSearch];
>> [glass setIsAccessibilityElement:YES];
>> [glass setAccessibilityLabel:@"goto search"];
>>
>> [indexList addObject:glass];
>> [indexList addObjectsFromArray:myMenu.alphabet];
>>
>> This does not work too. As an experiment I exchanged the first line of my previous try and tried this with another magnifier glass character (which breaks a little the look and feel and should therefore not be used):
>>
>> NSString *glass = [NSString stringWithFormat:@"%C%C", 0xD83D, 0xDD0D];
>>
>> This DOES work! So there is something special about the UITableViewIndexSearch character string, which I cannot explain.
>>
>
> When you say this DOES work, you mean that you are able to set the accessibilityLabel programmatically and have VoiceOver read the text right?
Correct. I can set accessibilityLabel programmatically for all NSStrings I tried, except the UITableViewIndexSearch NSString.
Best regards
Matthias Schmitt
magic moving pixel s.a.
23, Avenue Grande-Duchesse Charlotte
L-3441 Dudelange
Luxembourg
Phone: +352 54 75 75 - 0
http://www.mmp.lu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden