Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们有一部 iPhone 同步了 mp3,可以正常播放内置 ios 音乐播放器。是否可以对网页进行编码,如果我使用移动 Safari 浏览网页,我可以看到我的音乐库并播放文件?如果是这样,我应该使用哪些 API 等?
由于浏览器限制和安全问题,您不能这样做。
在 iOS 上,这是不可能的。Chrome 应用程序可以访问本地媒体库;但是,iOS(实际上甚至是 Android 上的 Chrome)不支持此功能。
我会说不。我有 99% 的把握没有办法做到这一点。您可以访问的唯一文件是照片,这些文件是使用 .