gpt4 book ai didi

进入前台时(在后台一段时间后)iOS 7 应用程序崩溃(包括崩溃日志)

转载 作者:行者123 更新时间:2023-12-03 17:33:11 25 4
gpt4 key购买 nike

我将粘贴我的应用程序崩溃日志。我感觉这与 UIWebView 在后台(网络套接字)中数据过载有关,但我可能错了,所以我想看看这里是否有人愿意分析我的崩溃日志并看看发生了什么在。

带断点的符号化日志:http://pastebin.com/q63QvURY

最佳答案

在您的 UIWebView 的委托(delegate)被解除分配后,您的连接将继续。发生崩溃是因为连接试图更新已被释放的对象。

来自 UIWebView class reference :

Important: Before releasing an instance of UIWebView for which you have set a delegate, you must first set its delegate property to nil. This can be done, for example, in your dealloc method.



例如:
- (void) dealloc {
self.myWebview.delegate = nil;
}

关于进入前台时(在后台一段时间后)iOS 7 应用程序崩溃(包括崩溃日志),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21142051/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com