__block NSString *imageFileName;
 NSURL *imageURL = [info valueForKey:UIImagePickerControllerReferenceURL];
 ALAssetsLibraryAssetForURLResultBlock resultblock = ^(ALAsset *myasset) {
   ALAssetRepresentation *representation = [myasset defaultRepresentation];
   imageFileName = [representation filename];
}; ALAssetsLibrary
* assetslibrary = [[ALAssetsLibrary alloc] init]; [assetslibrary assetForURL:imageURL resultBlock:resultblock failureBlock:nil];

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案