Moves the child collections at the specified indexes in the collection list to a new index.
- iOS 8+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10.0+
The indexes of the child collections to be moved in the collection list.
The index at which to place the moved child collections, relative to the collection list’s ordering after removing the items at
When you call this method, Photos first removes the items in the
indexes parameter from the collection, and then inserts them at the location specified by the
To ensure that the index set you specify is valid even if the collection list has changed since you fetched it, create a change request with a snapshot of the collection list’s contents using the
init(for: method before rearranging child collections.