iOS 9.3 has a feature called "Night Shift": "Night Shift uses your iOS device’s clock and geolocation to determine when it’s sunset in your location. Then it automatically shifts the colors in your display to the warmer end of the spectrum, making it easier on your eyes. In the morning, it returns the display to its regular settings."
http://www.apple.com/ios/preview/