摘要: 创建一个方法(处理异常并输出到控制台):1 void uncaughtExceptionHandler(NSException *exception) 2 {3 NSLog(@"CRASH: %@", exception);4 NSLog(@"Stack Trace: %@", [exception callStackSymbols]);5 // Internal error reporting6 }在 app delegate 中添加异常处理器(exception handler):1 - (BOOL)application:(UIApplicatio 阅读全文
posted @ 2012-10-27 09:13 SubmarineX 阅读(937) 评论(0) 推荐(0) 编辑