UIAccessibilityTraitAdjustable issues
UIAccessibilityTraitAdjustable issues
- Subject: UIAccessibilityTraitAdjustable issues
- From: Simon Harris <email@hidden>
- Date: Fri, 08 Jun 2012 22:35:13 +1000
Is there anything special I need to do in order to have accessibilityIncrement/accessibilityDecrement called when VoiceOver is on?
I have a subclass of UIView and I'm overriding accessibleTraits to return [super accessibleTraits] | UIAccessibilityTraitAdjustable; and I've implemented
In all other respects the view responds well when VoiceOver is on but the only method on I seem to be able to get to work with a 3 finger swipe up/down is accessibleScroll.
Has anyone else encountered this? What am I missing?
My code looks like this:
- (BOOL)isAccessibilityElement {
return YES;
}
- (UIAccessibilityTraits)accessibilityTraits {
return [super accessibilityTraits] | UIAccessibilityTraitAdjustable;
}
- (void)accessibilityDecrement {
NSLog(@"DEC");
}
- (void)accessibilityIncrement {
NSLog(@"DEC");
}
Regards,
Simon
_______________________________________________
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