Hey,
I have an app that plays an animated GIF in a loop with AVPlayer in order to save on network bandwidth when downloading the GIF from Giphy. That works great except that it prevents the device from going to sleep / auto locking. I tried calling UIApplication.sharedApplication().idleTimerDisabled = false after each time I call player.play() but it did not seem to have an effect.
Any idea how to work around that?
Thanks :-)
-Yuval