I am using iTunes Search API in my application & playing the previewUrl songs from within the application by using
AVPlayer
If user wants to play the full song, he/she needs to purchase the song from iTunes Stores only then can he/she play the full song from application.
As apple released the Apple Music & giving the trial OR full membership to every one & allowing to play the full songs, is it possible to play Apple Music full songs from my application Like Previewurl by using
avplayer or mpmovieplayercontroller
Here is the update posted for iOS 9.3 that has info about accessing the Music Library and adding Apple Music tracks... https://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9_3.html
@"Ted Hosmann" Thanks for reply .
I would like to share some code from here
viewcontroller.m