A developer named Steven Troughton-Smith shared the discoveries regarding this on the Twitter.
In this case, one of the most debated features of iPhone 8, the facial recognition system it was kind of confirmed by the source code of another Apple device. Adding to these findings, another iOS developer Guilherme Rambo dug into the HomePod firmware and found out that the upcoming iPhone 8 will have the codename D22.
The iPhone maker is expected to unveil its new iPhones, including the iPhone 8, in September. It is speculated that it would appear either on the back or at the bottom of the screen. The feature, according to reports, would scan a user's face with the front-facing camera and verify it against the owner's face. The idea of a big, handsome OLED display on the iPhone 8 (or whatever it will be called) is exciting. The rest will be taken up by a virtual function area that will provide access to the home button and also other information.
It's always been claimed that Apple could remove Touch ID fingerprint authentication in its next flagship phone, replacing it with a form of infrared facial detection. Expectations are that the tap to wake feature will wake the screen with a couple aps, something Windows Phone has done for a while.
The iPhone's design has stagnated over the last few years.
Further probing of the firmware found an icon used to represent the D22 device, which shows a smartphone without Apple's traditional home button and a screen that nearly entirely fills the front of the device with only a cut out at the top for the front-facing camera, sensors and speaker.
The leak does appear to confirm a couple of longstanding rumours.