最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Disable pull down to exit full screen mode on safari ios - Stack Overflow

matteradmin6PV0评论

My team is developing a web application which has a full screen option in some sections. On Chrome, FireFox and Edge, the full screen option works fine. However, on safari ios, when entering full screen mode, if users touch and pull down the screen, it will exit full screen mode. Is there anyway to disable this action?

My team is developing a web application which has a full screen option in some sections. On Chrome, FireFox and Edge, the full screen option works fine. However, on safari ios, when entering full screen mode, if users touch and pull down the screen, it will exit full screen mode. Is there anyway to disable this action?

Share Improve this question asked Jan 20, 2021 at 4:05 Saber ArturiaSaber Arturia 1011 silver badge3 bronze badges 2
  • No there is not. If you want to consider making this a Web App, then you can have users add this to their home screen and you won't have this problem. – quicVO Commented Apr 8, 2021 at 15:54
  • @quicVO I just saw this after posting. Correct, this is a platform design thing. – Dan Levy Commented Apr 11, 2021 at 22:41
Add a ment  | 

1 Answer 1

Reset to default 3 +50

The only way I know to solve this is to have your users add the site to the home screen.

I think you can also detect if it's been opened via the home screen.

Post a comment

comment list (0)

  1. No comments so far