Re: What element to use for NSAccessibilityUIElementDestroyedNotification
Re: What element to use for NSAccessibilityUIElementDestroyedNotification
- Subject: Re: What element to use for NSAccessibilityUIElementDestroyedNotification
- From: Mike Engber <email@hidden>
- Date: Thu, 25 Apr 2013 13:18:11 -0700
This is correct, the element being destroyed is what you use.
It's also correct, that the assistive app will end up with a reference to an element that doesn't exist anymore.
Obviously, you won't be able to do anything interesting with it - like ask for attributes.
However, it is actually useful. You can use CFEqual on it which should be enough to find and remove any references to the destroyed element that you might have cached.
-ME
> Hey Christiaan,
>
> There's an example of its usage in the Dicey sample project (DCDice.m). It looks like you post it on the view before you release or hide it.
>
> Josh
>
> On Apr 25, 2013, at 10:24 AM, Christiaan Hofman <email@hidden> wrote:
>
>> What element should be used to send an NSAccessibilityUIElementDestroyedNotification? The docs are very obtuse (as always), but seem to suggest the element that is removed. But that makes no sense, because that element does not exist anymore.
_______________________________________________
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