My app uses the AVAssetResourceLoaderDelegate for video loading.
In the simulator,
currently in progress or pending resource request when no longer needed
-resourceLoader: didCancelLoadingRequest: method is called for helping the client to cancel the ongoing my network request.
But In the iOS device,
The method is not called. Therefore, the resource requests are requesting a duplicate range of videos running simultaneously, using unnecessary network occurs.
1. Why is the behavior of the device and simulator Is Different? Is it the specification ? Or is it a bug?
2. I want to know about whether the method is invoked under what conditions.
Here we are with regard to this issue test code created by other developers.
https://github.com/Naituw/DemoAVAssetResourceLoaderDelegate
Thank you.