Re: UIAccessibilityContainer Question
Re: UIAccessibilityContainer Question
- Subject: Re: UIAccessibilityContainer Question
- From: Doug Russell <email@hidden>
- Date: Wed, 30 May 2012 14:58:10 -0700
The view subclass would be the place to implement them.
An option, if you're going to setup a delegate anyway, is to forward
them through the delegate to your view controller.
I do that a lot when working with -accessibilityScroll.
Sent from my Pocket Internet Machine
On May 30, 2012, at 2:50 PM, Jake Carter <email@hidden> wrote:
> Hello everyone,
>
> I'm trying to rework some things in some code I'm working on and need to provide my own UIAccessibilityElements via the UIAccessibilityContainer category. I'm trying to understand where we need to implement these methods. The UIAccessibilityContainer category methods are on NSObject which would lead me to believe that they would be called for any object (I was hoping to put them in a view controller where I had access to both my views and model objects) but this doesn't seem to be true. It seems that they are only called on objects in the view hierarchy. It seems like I need to put them in my subclass for UIView and I guess setup some sort of delegation where my view subclass can call out to the view controller to access the model objects to create the UIAccessibilityElements from. Does this seem like a decent workaround or am I missing something?
>
> Thanks,
>
> Jake
>
>
> _______________________________________________
> 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