PDA

View Full Version : Which way is better when show tiles image?




mikezang
Jan 9, 2011, 04:30 AM
I try to show a image in tiles, I think there are some way as below, but I am not sure which one is better, though I can try all ways, but I still hope that I can get info from experience you.

1. use tiles of UIImageView + AnimatedGif
2. use tiles of UIButton in custom style + AnimatedGif
3. use tiles of UIWebView (for gif89a)
4 use UIView and draw tiles of UIImage



kainjow
Jan 11, 2011, 07:57 PM
It all depends. Is your image clickable? Is it animated?

If it's not animated and not clickable, I'd go with a single UIView and draw it repeatedly there. But it doesn't matter too much, as long as you're reusing the same image object with whatever you're doing.

mikezang
Jan 11, 2011, 08:01 PM
It all depends. Is your image clickable? Is it animated?

If it's not animated and not clickable, I'd go with a single UIView and draw it repeatedly there. But it doesn't matter too much, as long as you're reusing the same image object with whatever you're doing.
The all tiles should be animated.