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
Post a Comment