将 youtube api helper 集成到 iOS 时出现错误 258 [英] error 258 while integrate youtube api helper in to iOS

查看:28
本文介绍了将 youtube api helper 集成到 iOS 时出现错误 258的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://developers.google.com/youtube/v3/guides/ios_youtube_helper>

我已经按照提供的教程为 ios 集成了 youtube 助手,但我无法播放视频.在 iOS 7 中加载 Viewcontroller 上的视图时出现以下错误

收到错误渲染模板:Error Domain=NSCocoaErrorDomain Code=258操作无法完成.(Cocoa 错误 258.)"

git 源示例也没有编译.如果我做错了什么,请告诉我.

解决方案

我得到了解决方案,我错过了 YTPlayerView-iframe-player.html file添加bundle.它可以在此链接

中找到

https://developers.google.com/youtube/v3/guides/ios_youtube_helper

I have integrated above youtube helper for ios as per supplied tutorial but I could not able to play video. Following error occur during load the view on Viewcontroller in iOS 7

Received error rendering template: Error Domain=NSCocoaErrorDomain Code=258 "The operation couldn’t be completed. (Cocoa error 258.)"

git source examples also not compiling. Please let me know if I am doing anything wrong.

解决方案

I got the solution, I missed YTPlayerView-iframe-player.html file to add into bundle. It is available in this link

这篇关于将 youtube api helper 集成到 iOS 时出现错误 258的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆