【问题标题】:Getting ALAsset object from camera从相机获取 ALAsset 对象
【发布时间】:2014-09-14 14:06:25
【问题描述】:

如何在 - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info 中获取 ALAsset 对象 拍照后?

【问题讨论】:

    标签: ios iphone uiimagepickercontroller alasset elcimagepickercontroller


    【解决方案1】:

    你不能。 ALAsset 是相册中某处的条目的表示。只有在添加 assetsLibrary 框架(显然)并枚举专辑时才能获得它们。

    相机不会创建 ALAsset,它们只是相册中媒体的表示

    【讨论】:

      猜你喜欢
      • 2011-05-31
      • 2012-08-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-28
      • 1970-01-01
      • 2021-07-31
      • 2011-06-30
      相关资源
      最近更新 更多