Re: UIAccessibilityTraitAdjustable issues
Re: UIAccessibilityTraitAdjustable issues
- Subject: Re: UIAccessibilityTraitAdjustable issues
- From: Chris Fleizach <email@hidden>
- Date: Fri, 08 Jun 2012 09:06:16 -0700
Are you swiping up and down with VoiceOver to make accIncrement be called?
You might also want to rotate the "rotor" and confirm the rotor is set to Adjust Value, instead of something else
Sent from my iPhone
On Jun 8, 2012, at 5:35 AM, Simon Harris <email@hidden> wrote:
> 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
_______________________________________________
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