WTSafeGuard can effectively prevent the IOS system application crash
- Avoid NSTimer crash
- Avoid UIKit Called on Non-Main Thread crash
- Avoid KVO crash
- Avoid unrecognized selector crash
- Avoid Container NSArray, NSMutableArray, NSDictionary, NSMutableDictionary, NSSet, NSMutableSet crash
- Avoid NSString, NSMutableString,NSAttributedString crash
- Avoid NSURL, NSFileManager, NSIndexPath, NSJSONSerialization
- IOS 8 or later , XCode 7 or later
#import "WTSafeGuard.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
[WTSafeGuard startSafeGuard];
}
- pod 'WTSafeGuard'