iPhone 附件图像的大小

发布于 2024-10-06 18:49:06 字数 197 浏览 0 评论 0原文

在我的应用程序中,我附加了大约 3.0 MB 的 3000 x 3000 (px) 图像。 我通常会在日志中收到错误: “:无法向消费者写入更多数据”

此外,我收到内存警告,有时应用程序崩溃,尽管如果出现警告,我会释放尽可能多的内存。

所以我只想知道“:无法向消费者写入更多数据”是什么意思。

我用谷歌搜索过,但找不到任何相关内容。

In my applications, I am attaching a 3000 x 3000 (px) image rougly 3.0 MB.
I usually get an error in logs:
": Could not write any more data to the consumer"

Also, I get memory warning and sometimes the app crashes, though i am releasing as much memory as possible if there's a warning.

So I just want to know that what does ": Could not write any more data to the consumer" means.

I have googled it, but I couldn't find anything related.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文