保存图片的asset

保存图片的字符串local

NSString*localIdentifier = asset.localIdentifier;

通过local获取asset

PHFetchResult *fetchResult = [PHAssetfetchAssetsWithLocalIdentifiers:@[str]options:nil];

PHAsset *asset = fetchResult.firstObject;

你可能感兴趣的:(保存图片的asset)