Skip to content

jschiefner/advanced-brightness-slider-tweak

Repository files navigation

Build Get it on Havoc Donate on PayPal

AdvancedBrightnessSlider Tweak

This is an iOS Tweak that modifies the brightness slider in the Control Center. Even with dark mode toggled on, I found the display to be quite bright when reading in the dark. With this tweak, it becomes possible to dim the iPhone even below the regular minimum brightness allowed right from the control center. This tweak takes advantage of the Reduce White Point Setting usually found in Settings > Accessibility > Display & Text Size > Reduce White Point. When the brightness slider goes below a certain threshold, the brightness goes to zero and the Reduce White Point setting is activated. Sliding below that threshold then modifies the Reduce White Point intensity, instead of the usual brightness which is zero at that point. As well, the Auto Brightness feature of iOS is toggled off when the slider is below the threshold to prevent iOS from raising the brightness in that state.

Slider in Control Center Settings Pane

Support

  • iOS: 13, 14, 15 & 16
  • Rootful & rootless jailbreaks
  • Prysm (Control Center alternative available on Havoc), tested with version 1.9.1
  • BigSurCenter (Control Center alternative available on Havoc), tested with version 1.2.1

How it works

This tweak hooks into CCUIContinuousSliderView provided by ControlCenterUIKit.framework. This class represents the two sliders in the control center (brightness & volume). System API calls can be found in the ABSManager Implementation File.

Credits