Get the Image (UIImage) using asset URL in iOS 7

后端 未结 2 1288
醉酒成梦
醉酒成梦 2021-01-14 05:51

I have some images in my Photo Album. I have already retrieved the asset urls of all of them.. I want to get a particular image using the asset url... below code gave me as

2条回答
  •  隐瞒了意图╮
    2021-01-14 06:12

    UIImage *img = [UIImage imageWithCGImage:[[myAsset defaultRepresentation] fullResolutionImage]
    

    Hope this helps

提交回复
热议问题