我的应用程序在模拟器中运行良好......但不是在真实设备上......而且我有越狱的 iphone,所以我无法通过设备进行调试......如果我使用尝试捕捉这样的东西
@try
{
Statements
}
@catch (NSException *ex) {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:[NSString stringWithFormat:@"%@",ex]
delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
[alert show];
}
我的应用程序会在崩溃前在 alertview 上显示错误吗?
如果不是我怎么能找到错误在哪里?