> On Jul 28, 2015, at 11:59 PM, Ben Kennedy <[email protected]> wrote: > >> PHAssetChangeRequest *assetRequest = [PHAssetChangeRequest >> creationRequestForAssetFromVideoAtFileURL: self.sourcePlayListItem.url]; >> PHObjectPlaceholder *assetPlaceholder = >> assetRequest.placeholderForCreatedAsset; >> /* treat assetPlaceholder as a PHAsset and do something with it */ ; >
This results in: 'Invalid object <PHObjectPlaceholder: 0x155b93d0> 0506A376-11F4-438D-A847-CEE5E5E4B077/L0/001 passed to deleteAssets:, objects must be of type PHAsset' So the basic problem remains to obtain a PHAsset from an NSURL. -Carl _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
