The next iPhone, the one featuring a bezel-less screen, whose design was leaked in the HomePod code over the weekend, might just be getting a huge bump in terms of screen resolution as well as design. According to the developer Steve Troughton-Smith's tweet, there are references present in the leaked code, which says that the upcoming iPhone will have a functional screen resolution of 1125 x 2436. This piece of information actually gels with another rumour about the iPhone that was revealed by very reliable KGI analyst Ming-Chi Kuo back in February this year.
Kuo's numbers assumed that a portion of the rumored 5.8-inch display of the next iPhone will be functioning as a virtual home button/function area, which means it would leave a 5.15-inch chunk of the display as a functional screen.
If these rumours and leaks are to be believed then the iPhone 8 or the iPhone Edition will actually boast a display that's immensely better than current iOS devices.
An iPhone 7, which boasts a 1334 × 750 resolution on a 4.7-inch display, offers what Apple calls a "Retina display" at 326 ppi. To go by this measurement, as The Verge points out, a 5.15-inch screen with the rumored 2436 x 1125 resolution would then offer roughly around 521 ppi.
This huge visual leap forward would also put Apple on par with more recent high-end Android phones like the Galaxy S8 (2960 x 1440) or the Google Pixel (1080 x 1920), which offer more pixel-dense displays in order to work properly with visual functions like VR.
However, these are all speculations at the moment and when it comes to iPhone 8 more such will follow suit. So, it's always better to take them with a small grain of salt.