In my case, I play movie when app on foreground, when app switch to background mode, I need to stop playing. So when the movie is going to be played, switch to background mode immediately, then it crashed.
I played movie by url.
I debug the code, found it crashed in the function startProcessing :
I figured out that the loadValuesAsynchronouslyForKeys too slow cause this kind of crash. In my case, I already called the endProcessing to stop playing, but the loading for asset is too slow on iPhone 5s 10.1.1, the completionHandler of loading is delayed.
Hope this clue will help to solve the same issue on iphone 5/5s/5c of its 10.1.1+ os version
this issue occurred on Object-c version, will transfer to right place, just close it on this branch
In my case, I play movie when app on foreground, when app switch to background mode, I need to stop playing. So when the movie is going to be played, switch to background mode immediately, then it crashed.
I played movie by url.
I debug the code, found it crashed in the function startProcessing :
I figured out that the loadValuesAsynchronouslyForKeys too slow cause this kind of crash. In my case, I already called the endProcessing to stop playing, but the loading for asset is too slow on iPhone 5s 10.1.1, the completionHandler of loading is delayed.
Hope this clue will help to solve the same issue on iphone 5/5s/5c of its 10.1.1+ os version
this issue occurred on Object-c version, will transfer to right place, just close it on this branch