Can't set a UILabel to not be accessible
Can't set a UILabel to not be accessible
- Subject: Can't set a UILabel to not be accessible
- From: Richard Groves <email@hidden>
- Date: Fri, 05 Jul 2013 12:47:34 +0100
Hi,
I have a problem with the following:
UILabel* dayName;
<setup code omitted>
NSLog(@"DN-a11y Before: %@", dayName.isAccessibilityElement ? @"YES" : @"NO");
[dayName setIsAccessibilityElement:NO];
NSLog(@"DN-a11y After: %@", dayName.isAccessibilityElement ? @"YES" : @"NO");
Both log message report 'YES':
2013-07-05 12:45:10.882 BBC Weather[8578:c07] DN-a11y Before: YES
2013-07-05 12:45:10.882 BBC Weather[8578:c07] DN-a11y After: YES
and the label does indeed get read out in voice over.
Is this intended behaviour? We want to consolidate the text of two labels into one VO message read from another label to reduce the amount of elements in the VO list.
Thanks,
Richard
--
Richard Groves
Technical Director | NoodlFroot
M: +44 (0)7962 054 163
NoodlFroot Limited is a company registered in England and Wales with registration number 07245048.
Registered office: 145-157 St John Street, London, EC1V 4PY.
_______________________________________________
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