Connection to assetsd was interrupted or assetsd died(与 assetsd 的连接被中断或 assetsd 死亡)
问题描述
我从 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.)当我们尝试使用多个图像视图(Image)时可能会发生这种情况,所以只需图像并尝试释放它,它会解决问题.
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 .
这篇关于与 assetsd 的连接被中断或 assetsd 死亡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:与 assetsd 的连接被中断或 assetsd 死亡
基础教程推荐
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
