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.
我想在 UIButton 操作和完成 youtube 视频后打开 youtube 视频。控件通过单击完成按钮进入应用程序,我们如何实现这一点?
1:创建一个带框架的 UIWebView
2:将其添加为 SuView
3:使用 URL 加载请求
[myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.youtube.com]]];