WTSafeGuard 1.3.1

WTSafeGuard 1.3.1

测试已测试
语言语言 Obj-CObjective C
License MIT
发布上次发布2017年11月

hongruqi 维护。



  • lbrsilva-allin

WTSafeGuard 可以有效防止 iOS 系统应用程序崩溃

特点

  • 避免 NSTimer 崩溃
  • 避免 UIKit 在非主线程上调用崩溃
  • 避免 KVO 崩溃
  • 避免未识别的选择器崩溃
  • 避免 Container 数组, NSMutableArray, NSDictionary, NSMutableDictionary, NSSet, NSMutableSet 崩溃
  • 避免 NSString, NSMutableString, NSAttributedString 崩溃
  • 避免 NSURL, NSFileManager, NSIndexPath, NSJSONSerialization

要求

  • iOS 8 或更高版本,XCode 7 或更高版本

如何使用

#import "WTSafeGuard.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    [WTSafeGuard startSafeGuard];
}

安装

  • pod 'WTSafeGuard'