RQUncaughtExceptionHandler.h 532 B

123456789101112131415161718192021
  1. //
  2. // RQUncaughtExceptionHandler.h
  3. // TEST
  4. //
  5. // Created by 张嵘 on 2018/10/22.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <MessageUI/MFMailComposeViewController.h>
  10. static NSString * const kNotificationUncaughtException = @"kNotificationUncaughtException";
  11. @interface RQUncaughtExceptionHandler : NSObject<MFMailComposeViewControllerDelegate>
  12. + (void)setDefaultHandler;
  13. + (NSUncaughtExceptionHandler *)getHandler;
  14. + (void)TakeException:(NSException *) exception;
  15. @end