Re: UIAccessibilityContainer Question
Re: UIAccessibilityContainer Question
- Subject: Re: UIAccessibilityContainer Question
- From: Jake Carter <email@hidden>
- Date: Wed, 30 May 2012 14:56:41 -0700
Sweet. Thanks for your speedy reply.
Jake
On May 30, 2012, at 2:55 PM, Chris Fleizach wrote:
>
> On May 30, 2012, at 2:49 PM, Jake Carter 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?
>>
>
> The container protocol needs to be implemented on a view in the view hierarchy.
>
> That view is free to get it's UIAccessibilityElement's from wherever it wants, so it sounds like your plan makes sense.
>
>> 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