3 ms·
@andwang May I suggest you (optionally) animate the images to fade in instead of just switching them. This avoids the visual "popping", and really makes it loo
by geon 14y ago
@andwang
May I suggest you (optionally) animate the images to fade in instead of just switching them. This avoids the visual "popping", and really makes it look more polished.
I wrote/adapted something similar for my app a while ago:
https://github.com/geon/UIImageViewCached/blob/82c8b56564f8aaa128dd905eed392896ea962890/UIImageViewCached/UIImageView%2BCached.m https://github.com/geon/UIImageViewCached/blob/82c8b56564f8a...
I also implemented an optional spinner, which works better than a placeholder for larger-than-icon images.