How to play a song from the itunes library in iphone

后端 未结 3 1594
野趣味
野趣味 2020-12-01 02:36

Hi i need to play a song from the itunes library. I had gone through the Apples ipod Library Access Guide and got the code.

MPMediaQuery *everything = [[MPMe         


        
3条回答
  •  鱼传尺愫
    2020-12-01 02:51

    You are assigning a playlist of all songs to the music player, so of course it is going to play the entire list, starting at the beginning. If you want the user to select a specific song from the iPod library, use MPMediaPickerController.

提交回复
热议问题