0

有没有办法在 iOS 中发送捕获的异常?我可以使用 HockeyApp SDK 中的 ExceptionHandler.saveException API 在 Android 中实现它。iOS 中的等效 API 是什么?

@try {
   // lines of code which can cause an exception
}
@catch (NSException *exception) {
   NSLog(@"%@", exception.reason);
   // report to HockeyApp 
}
4

1 回答 1

1

HockeySDK-iOS 不支持此功能,因为我已经在 HockeyApp 上回复了您的支持请求。

您需要修改 SDK 并与 PLCrashReporter 进行交互以使其工作。我们目前没有自己实施的计划。

于 2015-05-08T09:46:43.803 回答