Contents

placeholderForCreatedAssetCollection

A placeholder object for the asset collection that the change request creates.

Declaration

var placeholderForCreatedAssetCollection: PHObjectPlaceholder { get }

Discussion

Use this property if you need to reference the asset collection created by a change request within the same change block. For example, the following code, when included in a photo library change block, creates an asset collection and then adds it to a collection list.

For details on change blocks, see PHPhotoLibrary.

See Also

Adding New Asset Collections