Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - Change the screen color temperature [duplicate]

Tags:

ios

I want to build an iOs app like f.lux. It changes the screen brightness of device based on daytime. I know I have to jailbreak my device. But I don't know how to implement this app.

Please suggest me any useful API to do that.

Thanks in advance.

like image 749
Huy Duong Tu Avatar asked Apr 15 '13 04:04

Huy Duong Tu


People also ask

How do I change the color temperature on my iPhone?

To adjust the color temperature to be warmer or colder, go to Settings > Display & Brightness > Night Shift and use the color-temperature slider. Some display accessibility settings, including Invert Colors, Grayscale, and Increase Contrast, might turn off True Tone.

How do I change the color of my iPhone screen back to normal?

To change your iPhone back to color, go to Settings -> Accessibility -> Display & Text Size and turn off the switch next to Color Filters. Your iPhone will instantly change from black and white to full color. Problem solved — probably.


1 Answers

iOS already has that system-wide feature built-in: see Settings > Brightness & Wallpaper, under Auto-Brightness:

auto brightness

Although it is possible to programmatically control the device's brightness, there is not a public API for determining the outside light, so this is functionality that the OS handles.

like image 134
Stuart M Avatar answered Sep 28 '22 08:09

Stuart M