自iOS 7起,当流媒体播放远程音频时,系统会自动显示networkActivityIndicator(不在模拟器中,而是在设备上)。
NSString *URLString = @"http://streams.ffh.de/radioffh/mp3/hqlivestream.m3u";
AVPlayer *radioPlayer = [AVPlayer playerWithURL:[NSURL URLWithString:URLString]];
[radioPlayer play];
有没有办法阻止显示networkActivityIndicator?