Download during sleep mode?

So I just switched to iPhone (7) after using Android forever.
One things I am struggling with:
I like to set my phone to download my next-day Spotify offline listening content (might take an hour due to slow wifi where I live).
On my old phone, I could switch off the screen and download would continue.
But with the iPhone, the only way to switch off the screen is to enter sleep mode, either manual switch off or timed. And when it does go into sleep, download stops too. I guess sleep mode kills apps and functions?
How can I turn off the screen and keep download active?
Welcome to iMore! The ability to download in the background depends on the app itself. I found something that might be helpful but it's a little old. Hopefully the trick still works. Look here: https://community.spotify.com/t5/iO...ne-without-Spotify-pausing-syncing/td-p/17873
This no longer works as auto lock is timed. I just open spotify every 24 hrs as i use it in the Jeep everyday and my playlists update while driving.
That works.
Thank you.

Original thread: https://forums.imore.com/threads/download-during-sleep-mode.387539/