Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
49
rated 0 times [  50] [ 1]  / answers: 1 / hits: 68340  / 11 Years ago, fri, may 10, 2013, 12:00:00

There is a fullscreen mode in Safari on iOS. Is it possible to activate this through javascript or similar?



Thanks


More From » ios

 Answers
15

No, there is no way to toggle the fullscreen mode in Safari on iOS using javascript.



In order for a web page to run in fullscreen mode, you need to add the following meta tag, and the page needs to be started from a bookmark on the home screen:



<meta name=apple-mobile-web-app-capable content=yes>


However, you can detect if the page is running in fullscreen mode or not with javascript using the read only property:



window.navigator.standalone

[#78302] Thursday, May 9, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aiyanakatelinp

Total Points: 578
Total Questions: 110
Total Answers: 111

Location: New Caledonia
Member since Thu, Mar 23, 2023
1 Year ago
;