I need recent playlist which we played from apple music or iTunes from iPhone. So, If anyone has a demo, link or tutorial then please share with me. I am following "https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetRecentlyPlayed.html#//apple_ref/doc/uid/TP40017625-CH62-SW1" but could not create "Music User Token" from store kit. Please help me.
Asked
Active
Viewed 207 times
1 Answers
0
You can download the demo related to the Music app and get some ideas about "How to access the Music library and its properties with the MediaPlayer framework" from this link. Also, look into the AVFoundation framework documentation..
Regarding the Music User Token, Just follow the Step from creating Music private key to Music User Token. Also, don't forget the check the "Notes" in every section of this documentation. Maybe you will find some solution from that notes.

Paras Joshi
- 20,427
- 11
- 57
- 70
-
Already try but I found that "requestUserToken(forDeveloperToken:completionHandler:)" which method is given in doc this method only for ios11+. :) – Mirant Jul 14 '17 at 12:48
-
@Mirant Right, it will work in iOS 11 and we can implement it in Xcode 9+. If you want to implement this feature then just install the iOS 11 beta version in any of the iPhone and then try it. Also, download the Xcode 9 beta version. :) – Paras Joshi Jul 14 '17 at 12:54