iOS 8's Removal of "minimal-ui": Exploring Alternative Soft Fullscreen Solutions
The deprecation of the "minimal-ui" viewport property in iOS 8 has raised questions about the feasibility of achieving a "soft fullscreen" experience on mobile Safari without compromising accessibility.
Q1. Is it still possible to hide the address bar on Mobile Safari?
While the window.scrollTo hack no longer functions, it remains possible to enter minimal-ui mode via a "touch-drag down" gesture. However, the dimensions of the minimal-ui are unmeasurable, preventing advanced detection of its state.
Q2. Is it still possible to have a similar soft fullscreen experience without using mobile-web-app-capable?
Yes, alternative solutions have emerged, such as Brim – view manager for iOS 8. Brim achieves a soft fullscreen experience by implementing the following:
Q3. Is a fullscreen experience worth the trouble?
The feasibility of a native fullscreen API on iOS remains uncertain. It's important to consider the following:
In summary, despite the removal of "minimal-ui," alternative solutions like Brim continue to provide developers with options for achieving a soft fullscreen experience on iOS devices. However, it's crucial to balance the benefits with accessibility considerations and ensure that users can easily access essential browser controls.
The above is the detailed content of How Can Developers Achieve a Soft Fullscreen Experience on iOS After the Removal of 'minimal-ui'?. For more information, please follow other related articles on the PHP Chinese website!