You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to create a function as an extension of UIImageView that loads non-progressive image progressively.
The URL passed to the function provides a progressive PNG image, which seems unable to load progressively even with self.pin_updateWithProgress option being true.
I changed the server's implementation so that the server returns low resolution image when /128 is added to the end of the image's URL.
Then I'm trying to first load that low resolution image ("/128" one) into a UIImageView, followed by another pin_setImage which loads the final high resolution image to the UIImageView, using the low resolution image as placeHolder.
However, the UIImageView doesn't update from the low resolution image, or it only loads the high resolution image for some occasions.
Has anybody tried the similar implementation and knows a better practice?
The text was updated successfully, but these errors were encountered:
ryuta0201
changed the title
Load another image to a single UIImageView after one download has been completed
Load another image to an UIImageView after one download has been completed
Jun 15, 2021
ryuta0201
changed the title
Load another image to an UIImageView after one download has been completed
Load another image to a UIImageView after one download has been completed
Jun 15, 2021
ryuta0201
changed the title
Load another image to a UIImageView after one download has been completed
Load another image to a UIImageView after one image download has been completed
Jun 15, 2021
Hi, I'm trying to create a function as an extension of UIImageView that loads non-progressive image progressively.
The URL passed to the function provides a progressive PNG image, which seems unable to load progressively even with
self.pin_updateWithProgress
option being true.I changed the server's implementation so that the server returns low resolution image when
/128
is added to the end of the image's URL.Then I'm trying to first load that low resolution image ("/128" one) into a UIImageView, followed by another pin_setImage which loads the final high resolution image to the UIImageView, using the low resolution image as placeHolder.
The code looks like the following:
However, the UIImageView doesn't update from the low resolution image, or it only loads the high resolution image for some occasions.
Has anybody tried the similar implementation and knows a better practice?
The text was updated successfully, but these errors were encountered: