简体   繁体   English

选择声音文件+ iPhone SDK

[英]Select sound files + iPhone SDK

我们可以从iPhone中选择特定长度的声音文件吗?

iPhone apps only have access to files that are stored within the application's own storage area. iPhone应用程序只能访问存储在应用程序自己的存储区内的文件。 So, you cannot access the files that the user has loaded into iTunes. 因此,您无法访问用户已加载到iTunes的文件。 You can only view their metadata and cause them to be played. 您只能查看它们的元数据并使它们播放。

However, the meta-data of the iTunes library does include length, so you could examine that metadata instead of examining the files, and select ones with a length that you want. 但是,iTunes资料库的元数据确实包含长度,因此您可以检查该元数据而不是检查文件,然后选择具有所需长度的元数据。

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

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