Videos circulating online show an iPhone's front camera flashing every few seconds, as if the phone were taking pictures of its owner. Some users got scared. Is the iPhone really photographing you, and if so, why?

An infrared camera, not photos

It's true that the iPhone's infrared camera turns on roughly every 5 seconds and projects about 30,000 invisible dots onto your face. But that isn't taking photos; it's checking what's in front of the phone. This is the job of the TrueDepth camera system, which debuted on the iPhone X and has since powered many features.

Why do the videos show flashes? Apple explains on its support site that some cameras can detect infrared light the human eye can't see. Another phone's camera shows what you normally wouldn't.

Face ID first

At first, TrueDepth was mainly for Face ID. Instead of typing a passcode to unlock the phone or a password to buy an app, you just looked at the screen. The camera projects the dots, builds a depth map of your face and captures an infrared image, and a chip in the phone compares them with the stored data.

According to Apple, the probability that a random person could unlock your phone with their face is less than 1 in 1,000,000. It's higher for twins and look-alike siblings, and for children under 13, whose features are still developing.

Hats, glasses, masks

Face ID doesn't need your face to look the same every time. Apple says it works with hats, scarves, glasses, contact lenses and many sunglasses. Since the iPhone 12, it even works with a face mask, as long as the camera can see your eyes. Neural networks designed to detect spoofing protect it from being fooled by a mask or a photo. That's another reason the camera captures more than a regular image: depth and infrared matter, not just how your face looks.

Attention-aware features

If the phone is already unlocked, why do the dots keep appearing? It's because of attention-aware features, found in Settings under Face ID & Passcode. They use the face map while you're using the phone.

  • If you haven't touched the screen for a few minutes, the iPhone checks whether you're looking before dimming it. Before, it had no way of knowing and always dimmed the screen.
  • When it sees you looking at the phone, it lowers the volume of alerts and alarms. Before, you had to scramble for the snooze or stop button.
  • When you wake the phone, notifications expand to show message previews or event details that would otherwise stay hidden without recognizing your face.

Apple notes that the TrueDepth camera activates for these features even if Face ID isn't set up at all.

What happens to your face data

Face data, including its mathematical representation, is encrypted and protected by the Secure Enclave, a separate, secured part of the phone's chip. According to Apple, it never leaves the device, is never available to iOS, apps or Apple itself, and is never backed up to iCloud or anywhere else. Nobody, including Apple, has access to it.

How to turn it off

If you still prefer the camera not to check whether you're looking, just turn off Attention Aware Features in Settings under Face ID & Passcode. The phone will then dim the screen after the usual time, and alarms won't get quieter when you look.

A separate option is Require Attention for Face ID. By default, the phone unlocks only when you look at the screen with your eyes open. If that's a problem, for example for health reasons, you can turn it off in Accessibility settings under Face ID & Attention.

In short, the flashes in those videos aren't secret photos. They're a feature that lets the iPhone behave more sensibly when you look at it, and the data it needs stays on the phone.

Ask AI