Home >Web Front-end >CSS Tutorial >Is a Soft Fullscreen Experience Still Possible on iOS 8?
Soft Fullscreen Alternatives for iOS 8
iOS 8 removed the "minimal-ui" viewport property, raising concerns about hiding the address bar on Mobile Safari. However, there are still options for achieving a "soft fullscreen" experience:
1. Is it still possible to hide the address bar on Mobile Safari?
While iOS 7 no longer responds to the window.scrollTo hack, there are other methods to hide the address bar. However, these methods require the use of JavaScript and may have accessibility limitations.
2. Is it still possible to have a similar soft fullscreen experience?
Brim is a "view manager" for iOS 8 that allows you to create a treadmill element to enable user scrolling and enter "minimal-ui" view. When the page is in "minimal-ui," Brim disables document scrolling to prevent accidentally leaving the immersive experience.
3. Is a fullscreen experience worth the trouble?
Ultimately, the decision of whether or not to pursue a fullscreen experience depends on the specific requirements of your web app. If accessibility and bookmarkability are crucial, consider accounting for viewport height and accommodating the OS bar, address bar, and navigation menu.
Additional Notes:
The above is the detailed content of Is a Soft Fullscreen Experience Still Possible on iOS 8?. For more information, please follow other related articles on the PHP Chinese website!