私は執拗に検索しましたが、運がありません。
テーブルビュー(didSelectRowAtIndexPath)でストリーミングオーディオファイル(mp3)を再生しようとしているだけですが、xcodeではエラーではありませんが、mp3は再生されません
ここにスニペットがあります
NSString *urlstr = @"www.nosajsolomon.com/pull_up_to_mi_bumper.mp3";
NSURL *url = [NSURL URLWithString:urlstr];
AVPlayerItem *playerItem2 = [AVPlayerItem playerItemWithURL:url];
player = [AVPlayer playerWithPlayerItem:playerItem2];
[player play];
player.actionAtItemEnd = AVPlayerActionAtItemEndNone;
私が間違っていることは何ですか?