Swift iOS -AVPlayer Video Freezes / Pauses When App Comes Back from Background
问题 I have a video playing in a loop on the login page of my app. I followed this Youtube tutorial to get it to work loop video in view controller The problem is when the app goes to the background, if I don't come back right away, when i do come back the video gets frozen. According to the Apple Docs that's supposed to happen. I tried to use the NotificationCenter's Notification.Name.UIApplicationWillResignActive but that didn't work. How do I get the video to keep playing once the app returns