Get f.lux. Seriously.
It never ran on iOS, Apple wouldn’t let you get at the hardware enough. But a few years ago, they put the functionality into iOS. There are screen setting that allow you to get the same effect that f.lux gives you with Windows, Linux, and MacOS.
That feature to turn the screen a warm color is built into IOS and I use it.