开发者

(iphone) UIImage imageWithData: should be called in mainthread only in ios3.1?

I read UIImage is thread safe from ios4.x.

开发者_JS百科

Wonder if imageWithData: should be called from main thread only in ios3.x?

-- edit

Should allocing UIImage also be done in main thread only in ios3.x?

Thank you


UIImage is thread safe but UIImageView is not (in iOS4). If you need to support iOS3.x then you need to do all UIImage operations in main thread as well.

Edit: Adding a link to the already answered question here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜