I have 2 view controllers, the first one contains a table of video information list, then one item is selected from list, detail view controller opened via navigation. I used AVPlayer at this detail controller. Sometimes AVPlayer fails with AVPlayerItemStatusFailed and after that failure occurred, avplayer continues to failed with AVPlayerItemStatusFailed. Although i tried to clear the avplayer instance and create new one, i cannot achieve AVPlayerItemStatusFailed failure to solve. Also popping detail view controller from navigation and initializing new item via selecting new item from list does not solve the problem.
So I figured that out AVPlayer cloudn't been cleared completely although the owner view controller is removed from the navigation stack. Is there anybody suggest anything to try for clearing the AVPlayer completely and make it works after failure?
Thanks in advance...