与资产的连接中断或资产死亡 [英] Connection to assetsd was interrupted or assetsd died
本文介绍了与资产的连接中断或资产死亡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从PHAssets加载照片。当我加载一些图像并将它们传递给另一个视图控制器时,我收到此错误日志。我似乎无法在网上找到任何关于此的内容。有没有人遇到这个并知道它是什么?
I load photos from PHAssets. I get this error log when I load some images and pass them to another view controller. I can't seem to find anything online about this. Anyone encounter this and know what it is?
我也得到了这个错误:
***** Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/
推荐答案
可能有以下原因:
1。 )
当我们尝试使用多个图像视图(图像)时,可能会出现这样的图像并尝试释放它,它将解决问题。
1.)
It may occur when we try to use multiple Image view (Image) so just image and try to release it , it will solve problem.
2。)
还要避免为存储图像创建太多属性。
2.)
Also to avoid create too many property for storing images .
3 。)
如果我们需要将图像发送到另一个视图,请尝试压缩它。
3.)
If we need to send image to another view try to compress it .
这篇关于与资产的连接中断或资产死亡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文