• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Avoiding NSAccessibilityException?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoiding NSAccessibilityException?


  • Subject: Re: Avoiding NSAccessibilityException?
  • From: Martin Wierschin <email@hidden>
  • Date: Wed, 7 May 2008 18:31:52 -0700

When access for assistive devices is enabled in the system preferences, the exception handler in my application catches bunches of NSAccessibilityExceptions when a panel is opened.

Any way to avoid that?

You can have your NSExceptionHandler delegate methods ignore accessibility exceptions, eg:


- (BOOL) exceptionHandler:(NSExceptionHandler*)handler shouldHandleException:(NSException*)exception mask:(unsigned)mask
{
return ! [[exception name] isEqualToString:NSAccessibilityException];
}


I don't know how effective this is though.

~Martin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Avoiding NSAccessibilityException?
      • From: Gerd Knops <email@hidden>
References: 
 >Avoiding NSAccessibilityException? (From: Gerd Knops <email@hidden>)

  • Prev by Date: Re: Group rotation
  • Next by Date: Palette a NSStepper with tow Buttons and a NSTextField
  • Previous by thread: Avoiding NSAccessibilityException?
  • Next by thread: Re: Avoiding NSAccessibilityException?
  • Index(es):
    • Date
    • Thread