Is this: https://www.b4x.com/android/forum/threads/background-playback.49337/#content still valid method for background play with AVPlayerViewController?
I have a lot reports that app stop to play music on iPhone 6 and above with iOS 11, working fine on iPhone 5s with iOS 11, also working fine on devices with iOS 10 and below. There is no crash report (I have local Mac with latest xCode v9.2), it's look like system kill app after approx 10 minutes, when screen is off. When music stop and user click on app icon or select app from recent app list, application start loading procedure, so I'm almost sure system killed app in background. I'm also unable to reproduce same behavior with Simulator.
Anyone have solution?
PS.
This app is over 2 years old, there is no problem before with lower iOS versions and VideoView.
I have a lot reports that app stop to play music on iPhone 6 and above with iOS 11, working fine on iPhone 5s with iOS 11, also working fine on devices with iOS 10 and below. There is no crash report (I have local Mac with latest xCode v9.2), it's look like system kill app after approx 10 minutes, when screen is off. When music stop and user click on app icon or select app from recent app list, application start loading procedure, so I'm almost sure system killed app in background. I'm also unable to reproduce same behavior with Simulator.
Anyone have solution?
PS.
This app is over 2 years old, there is no problem before with lower iOS versions and VideoView.