Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
- Subject: Re: NSAccessibilityAnnouncementRequestedNotification does not seem to work
- From: Henri Normak <email@hidden>
- Date: Thu, 25 Jul 2013 08:39:10 +0300
Hi Josh,
Thanks for the tip, sending to [NSApp mainWindow] seems to work. As it's not about an element being destroyed the second suggestion wasn't really applicable in this case. My goal was to notify of an event, an abstract one happening in the model layer, so there might not always be a direct view element corresponding to this event (an analogy would be a long process completing, but the UI showing progress being hidden).
I think the documentation in this case was slightly misleading. Mainly for this comment in NSAccessibility.h -
"...This notification should be posted for the application element." it's next to NSAccessibilityAnnouncementRequestedNotification - this made me believe that I need to send the notification to NSApp. I've filed a radar for clarifying that documentation part. (rdar://14543376)
Thank you for your help,
Henri
_______________________________________________
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