Presents the user the opportunity to authorize the content for playback.
- macOS 10.7+
The maximum amount of time in seconds to wait for the user to authorize the content before calling the handler block with a timeout result.
The block to be called upon completion.
Calling this method will present the user with the opportunity to authorize the content (for example, by launching iTunes and prompting the user to enter their Apple ID and password).
When the user has taken action (or the timeout has elapsed), the completion handler is invoked. You determine the status of the authorization attempt by checking the value of the
Even if the status indicates a completed authorization, the content may still not be authorized (for example, if the user authorizes an Apple ID other than that associated with the content). You should re-check the value of
content to verify whether the content has actually been authorized before continuing. It is not necessary to call this method if the value of
content is already true.