をプレイしない:AVplayerはAVPlayerの非常に単純な実装使って特定のリンク
AVURLAsset *asset = [AVURLAsset assetWithURL:self.currentCollateral.url];
AVPlayerItem *item = [AVPlayerItem playerItemWithAsset:asset];
AVPlayer *player = [AVPlayer playerWithPlayerItem:item];
AVPlayerViewController *playerViewController = [[AVPlayerViewController alloc] init];
playerViewController.player = player;
[player play];
[self presentViewController:playerViewController animated:YES completion:nil];
をしかし、このリンクは再生されません。
何をわからない
\ I紛失しています。コードは他のリンクでも機能します。ドキュメントに関連するものが見つからないようです。助けてくれてありがとう!ベン
ありがとうございました! – Mountainbrussell