int main(int argc, char * argv[]) {
@try {
@autoreleasepool
{
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
@catch (NSException* exception)
{
NSDebugLog(@"Exception=%@\nStack Trace:%@", exception, [exception callStackSymbols]);
}
}
参考链接:
iOS11 Xcode9 WKWebView崩溃问题解决方案
:https://www.jianshu.com/p/909afcbc401e