This Week's Sponsor:

Winterfest 2024

The Festival of Artisanal Software


Reverse-Engineering the iPhone X Home Indicator Color

Nathan Gitter:

I noticed an unusual behavior of the iPhone X home indicator while working on my most recent app. The app’s background near the home indicator is purple. When the app launches, the home indicator is very light gray.

But something odd happened when I pressed the app’s “share” button, which opened a default iOS activity view (aka “share sheet”). When I hit the “cancel” button to close the activity view, the home indicator animated to a dark gray color.

Home indicator starts light, then a share sheet passing makes it dark.

Even though the background color was exactly the same, the light-colored activity view passing underneath caused the home indicator to change color. The only way to get the home indicator back to its original color was to leave the app and come back.

I had never seen this before, and it prompted my curiosity.

Fascinating study of the iPhone X’s Home indicator behavior. I had no idea that the indicator adapted to background color changes within the bar itself. Don’t miss the second (and more technical) half of the story with Gitter’s detailed color tests.