Objective c 无法在MPMoviePlayerViewController中查看已解析的m4v链接
我正在这里解析此xml文件: 我从xml文件中获取预览链接,但由于某些原因,url无法在我的MPMovieViewController中播放。预览链接示例如下: 如果您能告诉我为什么这不会在我的MPMovieViewController中播放,我将不胜感激 注:这是我的代码:Objective c 无法在MPMoviePlayerViewController中查看已解析的m4v链接,objective-c,xcode,mpmovieplayercontroller,itunes,nsxmlparser,Objective C,Xcode,Mpmovieplayercontroller,Itunes,Nsxmlparser,我正在这里解析此xml文件: 我从xml文件中获取预览链接,但由于某些原因,url无法在我的MPMovieViewController中播放。预览链接示例如下: 如果您能告诉我为什么这不会在我的MPMovieViewController中播放,我将不胜感激 注:这是我的代码: if (section == 2) { if (row == 0) { MPMoviePlayerViewController *controller = [[MPMoviePlayerViewCo
if (section == 2) {
if (row == 0) {
MPMoviePlayerViewController *controller = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:previewlink]];
NSLog(@"%@", previewlink);
[self.navigationController presentMoviePlayerViewControllerAnimated:controller];
}
我也有同样的问题,显然苹果不允许从iTunes的SDK中显示受保护的视频。检查