报错:
NSScanner: nil string argument
libc++abi.dylib: terminate_handler unexpectedly threw an exception
尝试以下方式定位错误
@try {
//可能出错的代码
//或
//main文件中的
//@autoreleasepool {
// return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
//}
}
@catch (NSException *exception) {
NSLog(@"%@",exception);
}