我正在尝试使用iOS Player帮助器将YouTube视频嵌入到我的应用中,但是加载 View 时出现问题。我在他们的网站上使用了演练:https://developers.google.com/youtube/v3/guides/ios_youtube_helper
我在控制台中收到此错误:
Received error rendering template: Error Domain=NSCocoaErrorDomain Code=258 "The operation couldn’t be completed. (Cocoa error 258.)"
最佳答案
我也遇到258代码错误的相同问题。但是我找到了解决方案,我错过了YTPlayerView-iframe-player.html添加到 bundle 包的方法。可在youtube-ios-player-helper / Assets / YTPlayerView-iframe-player.html中找到
error 258 while integrate youtube api helper in to iOS
关于ios - YouTube iOS播放器帮助器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24206498/