play apple music songs by third party applications

Viewed 4256

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

2 Answers
Related