Fresh evidence indicates Apple is primed to release a bezel-free iPhone that can recognise the user's face - and this time the leak comes straight from the horse's mouth.

Apple is really, really serious about keeping its secrets and the company goes to great lengths to enforce a culture of secrecy around new products and prevent any leaks.

But in a truly rare instance, Apple may have mistakenly released software code that contains some juicy clues about its much anticipated iPhone 8, due to launch later this year.

"The biggest bombshell Apple leak in years came from Apple itself," wrote Wired this morning.

Advertisement

But more accurately, it was well-known software developer Steve Troughton-Smith who did all the hard work. He combed through the code for a new version of firmware for Apple's HomePod speaker before it was meant to be public. And in there, amongst all the code, he believes he found some clues about the next iPhone.

After a couple days of sleuthing, Mr Troughton-Smith found code that appears to reveal a new feature that would let you unlock an iPhone with your face, dubbed BKFaceDetect.

Reportedly embedded in the code are phrases such as "MultipleFaces" and "TooCloseToCamera" which likely point to how the iPhone will deal with certain situations when the facial recognition technology is activated.

Also buried in the code was what appears to be an image showing what the basic design of the new iPhone might look like. As many were expecting, the image depicts a phone with very slim borders around the screen, reducing the size of the bezel.

Companies like Samsung and LG have recently produced phones with similar designs.
Mr Troughton-Smith tweeted a picture of the image on Sunday night in the US saying: "A lot of people at Apple are going to have a nasty Monday."

Analysts have been predicting Apple will try to eliminate the home button and look to release a phone almost entirely free of the bezel.

The face reading technology - which would be used by customers to unlock the phone - gives some serious weight to that expectation.