An AVPlayerItem cannot be associated with more than one instance of AVPlayer

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'An AVPlayerItem cannot be associated with more than one instance of AVPlayer'

遇到这个问题 找了些资料 无果 然后看到TED是在播放前先检查网络 于是 写了个检查网络的代码进行判断 搞定。mark下


附上检查网络的代码http://easymorse-iphone.googlecode.com/svn/trunk/iphone.network1/

你可能感兴趣的:(exception,网络)