什么可能导致UIImageView中部分加载的JPEG? [英] What might cause a partially loaded JPEG in a UIImageView?
问题描述
我们正在移动应用中获取部分加载的个人资料图片在iOS和Android领域的报告。
We are getting reports in the field, on both iOS and Android, of partially loaded profile images in our mobile app.
这是它的样子(注意我有高斯模糊的图像部分,以保护我们的成员的隐私,但灰色是实际呈现的):
Here is what it looks like (note that I have gaussian blurred part of the image to protect the privacy of our members, but the grey is what is actually rendered):
AFAIK没有在UIImageView中加载渐进式JPEGS的概念所以我对这个图像甚至可以渲染的方式感到茫然。此代码至少在一年内未被修改。所有图像都托管在S3上,已经存在了2年。
AFAIK there is not a concept of loading "Progressive JPEGS" in UIImageView, so I am at a loss about how this image could even have been rendered at all. This code has not been modified in at least a year. All images are hosted on S3, and have been for 2 years.
如果设备达到某个带宽限制,运营商现在是否有可能截断图像?
Is it somehow possible that carriers are truncating images now if a device hits a certain bandwidth limit?
- 编辑 -
我可以确认我们能够在AT& T上重现此行为网络。当用户查看数据上限或其他内容时,AT& T是否可能以这种方式重置图像?
I can confirm we were able to repro this behavior on an AT&T network. Is it possible that AT&T is munging images in this fashion when a user goes over his data cap or something?
推荐答案
当我从https切换到http图像时,我出现了同样的问题。不用说......我切换回基于https的图像。
I had this same issue crop up when I switched from https to http images. Needless to say... I switched back to https based images.
这篇关于什么可能导致UIImageView中部分加载的JPEG?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!