0
MPMoviePlayerViewController
正常工作與調試,但暴跌釋放的iOS9
MPMoviePlayerViewController在釋放做工精細的調試,但墜毀在iOS9
MPMoviePlayerViewController *playerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
self.navigationController presentMoviePlayerViewControllerAnimated:playerViewController];
我url
不爲零。
它在工作時debug
在ios9但崩潰時release
,xcode7
說:
二〇一五年十月一十五日14:53:04.808 ******** [5110:1680634] NSScanner:無串 參數2015年10月15日14:53:04.808 ******** [5110:1680634] NSScanner: 零字符串參數的libC++ abi.dylib:terminate_handler出乎意料 拋出異常
是的,但我必須使用MPMoviePlayerController出於某種原因。我們不能只爲iOS9 –
你可以像iOS9那樣做AVPlayerController else MPMoviePlayerController。 – Hasya