If you go to the iphone library and then go to songs, you will see the songs being displayed in a similar way to the MPMediaItemPicker class does. The only difference is that the ipod application shows the search bar right at the top of the list and also a nice alphabetical scroll on the right hand side whereas the MPMediaItemPicker class only isplays a simple scroll going up and down. How can i implement an alphabetical scroll on the right in the MPMediaItemPicker class? Can someone please help me.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Check out this code:
https://github.com/jaminguy/JGMediaPicker
回答2:
As far as i know you cannot customize the MPMediaPickerController yourself beyond of course what is stated in the documentation.
You will need to implement your own picker, using media queries (by song ,by artist, etc).
I suggest reading: “Using the iPod Library” in Apple's "iPod Library Access Programming Guide"