How one developer got around the iPhone X's website letterboxing
If you like to view websites in landscape mode on your iPhone and are planning on getting the iPhone X, you might notice some white bars pop up on the sides of your device when you're surfing the web on that phone in a couple of months. One developer has found a solution that other developers can use to keep their websites from showing these bars when visitors head to their sites.
From Stephen Radford:
Radford suggests using background-color
to force the bars to adopt the same color as your site if it uses a single solid color, rather than a gradient. If you use an image, gradient, or different colors across your site, you can use the new-to-iOS viewport-fit
descriptor to have your site fill the whole screen of the iPhone X.
Developers will need to implement these solutions on their own, of course. We'll have to wait until the launch of the iPhone X in early November to see if anyone has utilized Radford's techniques.
Master your iPhone in minutes
iMore offers spot-on advice and guidance from our team of experts, with decades of Apple device experience to lean on. Learn more with iMore!
Joseph Keller is the former Editor in Chief of iMore. An Apple user for almost 20 years, he spends his time learning the ins and outs of iOS and macOS, always finding ways of getting the most out of his iPhone, iPad, Apple Watch, and Mac.