WTSafeGuard 1.3.1× 测试已测试✗ 语言语言 Obj-CObjective CLicense MIT 发布上次发布2017年11月由 hongruqi 维护。安装指南×WTSafeGuard 的安装指南您想在 Podfile 中添加类似以下内容target 'MyApp' do pod 'WTSafeGuard', '~> 1.3' end然后在终端或从 CocoaPods.app 中运行 pod install或者为了测试运行,运行以下命令pod try WTSafeGuard查看 PodspecGitHub 仓库CocoaPods.org 上的页面WTSafeGuard 1.3.1由lbrsilva-allinhongruqi/SafeGuardGitHub 仓库 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'