(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
精彩评论