Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing Color Temperature not Brightness of iOS screen

Tags:

ios

This Question Here was marked a duplicate because the wording of the question was bad. But I have the same question.

I do not want to change the brightness of the screen but change the color temperature of the screen the way the app f.lux does. It eliminates blue light at night time.

Unfortunately, the API it uses is not App Store admissible. But I'm a developer, so as long as I can get the app on my personal devices I would like to write it so I don't have to jailbreak my phone.

Any idea what calls they may be making to tint the entire screen so there is little to no blue light even when in the background?

like image 269
tettoffensive Avatar asked Jan 23 '14 04:01

tettoffensive


People also ask

Why can I not adjust my screen brightness iPhone?

Go to Settings > Accessibility. Tap Display & Text Size, then turn on Auto-Brightness.

Why is my screen not brightening?

📲 On Android: Settings > Display > Tap the slider next to Adaptive brightness and switch it to the off position. Then, adjust the brightness bar until you've reached your desired level of brightness. Assuming your display isn't damaged, the most common culprit for a consistently darkened screen is power-saving mode.

Why does my iPhone screen keep dimming with auto-brightness off 2022?

When you find that your iPhone is still dimming automatically, even though you've turned off Auto-Brightness and Night Shift, it could be because it's overheating. This is a built-in feature by Apple that protects the phone's internal components from heat damage – brightness contributes to heat generation after all.


1 Answers

Looking at the flux sources with nm gives some hints, it loads:

/System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer

And references these symbols:

U _IOMobileFramebufferGetGammaTable
U _IOMobileFramebufferGetMainDisplay
U _IOMobileFramebufferSetColorRemapMode
U _IOMobileFramebufferSetGammaTable

A more complete disassembly is provided here:

https://gist.github.com/anthonya1999/e0bffcac15b6b208126d

like image 105
alfwatt Avatar answered Oct 17 '22 02:10

alfwatt