Any idea how to do this? Thank you.
Something like this: http://iphonedevelopertips.com/graphics/animated-gif-animated-images-iphone-style.html would help, seeing as both TUIImage and UIImage are just CGImageRef wrappers.
I got the each frame fro NSBitmapImageRep *rep = [[_img representations] objectAtIndex:0];
CGFloat frame_times = [[rep valueForProperty:NSImageCurrentFrameDuration] floatValue];
Use animation to play the gif. It works.