草庐IT

PHAssetCollectionChangeRequest

全部标签

ios - PHAssetCollectionChangeRequest : addAssets() now accepts NSFastEnumeration. 这个怎么实现?

我的应用程序尝试从照片中导入图像并添加到相册。但在最近的快速变化中。addAssets()接受参数作为NSFastEnumeration。所以我得到一个错误,如图所示。即使是AppleAPI文档也有相同的代码:https://developer.apple.com/library/prerelease/ios/documentation/Photos/Reference/PHAssetChangeRequest_Class/index.html#//apple_ref/occ/instp/PHAssetChangeRequest/placeholderForCreatedAsset有什