开发者

problem with Image in custom Cell

开发者 https://www.devze.com 2023-01-05 20:35 出处:网络
Getting image data from sqlite database but not able to display in custom cell 开发者_Python百科of imageview.is there any conversion of image data into image.Super easy. There\'s a UIImage convenience

Getting image data from sqlite database but not able to display in custom cell 开发者_Python百科of imageview.is there any conversion of image data into image.


Super easy. There's a UIImage convenience method for exactly that.

//assuming the existence of an NSData *myData
UIImage *myImage = [UIImage imageWithData:myData];

So easy, in fact, I suspect that's not actually your question. If not, please clarify what you're asking.

0

精彩评论

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