Feature request: Public API for the iPhone Duo inner-display glow in tent mode
I’d like a public API for the colored glow that the StandBy alarm casts onto the table in tent mode. It’s a subtle detail that would work well in other apps. The outer display could keep showing the app while the inner glow picks up a color from album artwork or shifts as a timer counts down.
The private UIKitCore methods +[_UISceneCompanion _alarmGlowContent] and +[_UISceneCompanion _highlightCompanionWithColor:] point to the effect I mean. SpringBoard also defines SBCompanionScenePresentationModeInnerDisplayStandbyAlarmGlow.
In SwiftUI, I could imagine using it like this:
.sceneAccessory {
InnerDisplayGlowAccessory(color: glowColor)
}
An optional intensity parameter would be nice, too. That would let apps keep the glow faint during playback or brighten it briefly when something changes, within brightness limits set by iOS.