简体   繁体   English

将音频文件从应用程序保存到iPad / iPhone库

[英]Save audio file from app to iPad/iPhone library

I have been trying to figure out how to do this for most of the day, but I haven't been able to find much help. 我一直在努力弄清楚如何在一天的大部分时间内做到这一点,但我找不到多少帮助。 We have this multimedia app that allows users to view pictures, videos, and music/ringtones about the particular subject. 我们有这个多媒体应用程序,允许用户查看有关特定主题的图片,视频和音乐/铃声。 I know you can save images using UIImageWriteToSavedPhotosAlbum and you can save a video file using UISaveVideoAtPathToSavedPhotosAlbum . 我知道你可以节约使用图像UIImageWriteToSavedPhotosAlbum ,您可以使用保存的视频文件UISaveVideoAtPathToSavedPhotosAlbum But I can't figure out how to allow the user to save an audio file. 但我无法弄清楚如何允许用户保存音频文件。 All the files are stored within the app, so its not like I'm trying to stream or download them from the internet. 所有文件都存储在应用程序中,因此它不像我正在尝试从Internet上流式传输或下载它们。 Does anyone have any pointers on how to do this? 有没有人有关于如何做到这一点的任何指示?

官方SDK仅允许您使用MPMediaLibrary检索信息,无需写入权限。

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

相关问题 将音频文件从iPhone音频库保存到应用程序文档文件夹时,如何减小音频文件的大小? - How to reduce the size of audio file when I save it from iphone audio library to my application document folder? 流音频iPhone / iPad应用程序Xcode - Streaming audio iPhone/iPad app xcode 将ipod音乐库音频文件复制到Iphone App文件夹? - copy ipod music library audio file to Iphone App folder? 尝试从照片库中保存ipad应用程序包中的图像 - Trying to save images in ipad app bundle from photo library 从许多其他音频文件(混音器)在iPhone / iPad上创建音频文件 - Create Audio file on iPhone/iPad from many other audio files (mixer) 将动态生成的音频文件从iPhone应用程序导出到iPhone iTunes - export dynamically generated audio file from iphone app to iphone itunes iPhone SDK:是否可以处理本地库中的音频文件 - iPhone SDK: Is it possible to process audio file from local library 从iPhone应用程序将文件保存到保管箱 - Save file to dropbox from iphone app iPhone SDK:如何将从iPod库中选取的音频文件写入应用程序的文档文件夹? - iPhone SDK: How can I write an audio file picked from iPod Library into my app's Documents Folder? 如何将音乐文件从iPhone音乐库导入到iPhone App - How to import music file from iphone music library to iPhone App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM