Replaces the assets at the specified indexes in the asset collection with the specified assets.
Mac Catalyst 13.0+Beta
The indexes of the assets to be replaced in the asset collection.
An array of PHAsset objects to be inserted into (or moved within) the asset collection.
To ensure that the index set you specify is valid even if the asset collection has changed since you fetched it, create a change request with a snapshot of the asset collection’s contents using the init(for:assets:) method before rearranging assets.
Moves the assets at the specified indexes in the asset collection to a new index.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.