开发者

How do you add flair to three20's Thumbnail View for iPhone?

开发者 https://www.devze.com 2023-01-02 11:09 出处:网络
You know three20\'s Thumbnail View? We\'re building an iPhone app and want to use that view, except each thumbnail will be a user\'s profile picture. Then, based on certain flags down开发者_如何学运维

You know three20's Thumbnail View? We're building an iPhone app and want to use that view, except each thumbnail will be a user's profile picture. Then, based on certain flags down开发者_如何学运维loaded as JSON from the server, we want to overlay a green dot on the bottom left of each thumbnail (or give each thumbnail a blue border) where the corresponding user is online (for example). do you know how to do that with three20? or any examples or tutorials online that do something like this?

Thanks!


This probably isn't exactly the answer you were looking for, but you could consider modifying the image directly, or save two versions of the thumbnail (one with the overlay and one without), and switch the URL supplied to the TTPhotoSource when you need to change the display. Once you've updated your model, refresh the thumbnail view.

0

精彩评论

暂无评论...
验证码 换一张
取 消