开发者

Enumerate audio using assets library framework

开发者 https://www.devze.com 2023-03-20 09:40 出处:网络
I have stable code that allows me to display all user photos and I need to do same with audio files. Is it possible to enumerate audio it开发者_JS百科ems like photos with asset library framework or I

I have stable code that allows me to display all user photos and I need to do same with audio files.

Is it possible to enumerate audio it开发者_JS百科ems like photos with asset library framework or I have to use any other library?

Thanks in advance.


Is is available using

MPMediaQuery * query = [MPMediaQuery songsQuery]; //if you need to enumerate songs
for(MPMediaItem * item in query.items){ .... }
0

精彩评论

暂无评论...
验证码 换一张
取 消