setQueue(with:)
Sets a music player’s playback queue using with media items identified by the store identifiers.
Declaration
func setQueue(with storeIDs: [String])Parameters
- storeIDs:
An array of store identifiers associated with the media items to add to the queue.
Discussion
To begin playback after establishing a playback queue, call prepareToPlay().