ios - MPMoviePlayerViewController work fine with debug but crash in release on iOS9 -


mpmovieplayerviewcontroller works fine debug crash in release on ios9

mpmovieplayerviewcontroller *playerviewcontroller = [[mpmovieplayerviewcontroller alloc] initwithcontenturl:url]; self.navigationcontroller presentmovieplayerviewcontrolleranimated:playerviewcontroller]; 

my url not nil.

it's working when debug in ios9 crash when release, xcode7 say:

2015-10-15 14:53:04.808 ********[5110:1680634] nsscanner: nil string argument 2015-10-15 14:53:04.808 ********[5110:1680634] nsscanner: nil string argument libc++abi.dylib: terminate_handler unexpectedly threw exception

with ios9, mpmovieplayercontroller deprecated, should use avplayercontroller !


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -