Bug 264216

Summary: Add a way to hide the exit button when in full screen
Product: WebKit Reporter: Jesper van den Ende <jespertheend>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jer.noble, jespertheend, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: iPhone / iPad   
OS: iOS 17   
Attachments:
Description Flags
screenshot none

Description Jesper van den Ende 2023-11-04 14:37:38 PDT
Created attachment 468488 [details]
screenshot

I would like to add full screen support for our game,
but we have a health bar in the top left corner which gets overlapped by the full screen close button.

Ideally this close button would not be shown at all,
but I understand that for security reasons this might not be possible without an alternative.

Some alternatives could be:
- Hide the button until the user taps the screen
- Allow the user to swipe down from the top of the screen, similar to how it works on Android
- Automatically exit full screen whenever safari is closed
- Add another gesture that is not commonly used by web apps, such as two or three finger swipes in a certain direction
Comment 1 Radar WebKit Bug Importer 2023-11-11 13:38:14 PST
<rdar://problem/118279330>