如何在 iPhone 应用程序中播放 url?
[urlDict setObject:urlStr forKey:@"url"];
[urlArray addObject:urlDict];
//在urlArray中我得到了以下网址,
http://example.com/somevidya.AVI
如何在 iPhone 应用程序中播放此网址?
[urlDict setObject:urlStr forKey:@"url"];
[urlArray addObject:urlDict];
//here in urlArray i got bellow url,
http://example.com/somevidya.AVI
How to play this url in iphone application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以像这样将 url 添加到 MPMoviePlayerController 中。
然后像这样以模态方式呈现它:
并释放 videoPlayer:
You can add the url to a MPMoviePlayerController like this.
then present it modally like so:
and release the videoPlayer: