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.
我正在使用 Xcode 7.3。我已经添加了应用程序传输安全设置并在 watchkit 扩展 info.plist 中将 Allow Arbitary Loads 设置为 yes。并且想要使用 watchkit MediaPlayerController播放来自 http 链接声源的音频但苹果手表不断抛出错误“无法加载资源因为 App Transport Security 需要使用安全连接”。
根据Apple的说法,音频内容必须存储到 https 服务器。否则需要手动下载文件。