The code was found by app developers Steve Troughton-Smith and Guilherme Rambo who posted about their discovery on Twitter.
The iPhone 8 will not feature Touch ID fingerprint security, rumours suggest, and will instead feature a special tap-to-wake function and an interactive status bar.
"I can confirm reports that HomePod's firmware reveals the existence of upcoming iPhone's infrared face unlock in BiometricKit and elsewhere.A lot of people at Apple are going to have a nasty Monday", Troughton-Smith tweeted on 31 July. That can then be used to also unlock the HomePod.
The iPhone 8 is expected to also feature 3D imaging capabilities, which might help the company entice gamers.
Mumbai building in Ghatkopar collapse
Building was not in the C1 category building and was extremely risky that needs immediate redevelopment, BMC sources said. Rescue work was underway late on Tuesday evening to extricate around eight persons feared trapped under the rubble.
A special "spilt status bar", he adds, will sit across the top of the iPhone 8's screen, showing details from data strength to battery percentage.
While the iPhone 7 has seen an evolution in the design of Apple's smartphone, it has been some way from being revolutionary in the fashion that earlier iPhones were. Facial references such as "mouthstretch", "mouthsmile", and "mouthdimple" were also found, which are most likely a nod to Apple's rumored facial recognition feature that can even detect faces in the dark using infrared. In one swoop, Apple managed to confirm the phone's design as well as the "Face ID" unlock feature.
Apple has released the firmware to developers to allow them to get a sense for the platform before it arrives later this year. It certainly doesn't look like an iPhone 7S, but will it be an iPhone 8, iPhone X, or something else?
Like most companies, Apple hates leaks.
The near bezel-less design has always been expected, with leaks and rumours suggesting that Apple was following Samsung's design moves with the Galaxy S8 and producing a smartphone that resembles Android-creator Andy Rubin's upcoming Essential phone.