简体   繁体   English

如何在iPhone SDK中访问存储在iPhone中的mp3

[英]How to access the mp3 stored in iPhone in iPhone SDK

How does one access an MP3 stored in iPhone iTune_controls directory? 如何访问存储在iPhone iTune_controls目录中的MP3? When i want to see the MP3 it is not visible for me in my applcation. 当我想查看MP3时,在我的应用程序中看不到它。

I'm not sure I understand your question correctly, but it sounds like you want to access an MP3 from your app that is in the iTunes (iPod?) area of the phone, is this correct? 我不确定我是否正确理解了您的问题,但是听起来您想从手机iTunes(iPod?)区域中的应用访问MP3,对吗?

If so then you can't directly access the file, since your app runs in an isolated sand-box. 如果是这样,则您将无法直接访问该文件,因为您的应用程序在隔离的沙盒中运行。

If on the other hand you're wanting to play an MP3 that's part of your app then look in the iPhone Library - Audio Queue Services section. 另一方面,如果您想播放属于应用程序的MP3,请在“ iPhone库-音频队列服务”部分中查找。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM