[英]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.