What might cause a partially loaded JPEG in a UIImageView?

為{幸葍}努か 提交于 2019-12-08 04:44:50

问题


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 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?

-- Edit --

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?


回答1:


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.



来源:https://stackoverflow.com/questions/12712383/what-might-cause-a-partially-loaded-jpeg-in-a-uiimageview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!