-
-
Notifications
You must be signed in to change notification settings - Fork 4k
can hide status bar on iOS #17179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can hide status bar on iOS #17179
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks right, haven't tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested this PR but have used the same winit function in a Bevy app before and it has always worked.
Winit has set_prefers_status_bar_hidden
so that value could technically also be updated at runtime.
# Objective - Followup on #17179 (review) - Can show / hide home indicator / status bar during runtime ## Solution - react on window change ## Testing - Tested on iOS
# Objective - I want to hide the clock and the battery indicator on iOS ## Solution - Add the platform specific property `prefers_status_bar_hidden` on Window creation, and map it to `with_prefers_status_bar_hidden` in winit. ## Testing - Tested on iOS
…e#17204) # Objective - Followup on bevyengine#17179 (review) - Can show / hide home indicator / status bar during runtime ## Solution - react on window change ## Testing - Tested on iOS
Objective
Solution
prefers_status_bar_hidden
on Window creation, and map it towith_prefers_status_bar_hidden
in winit.Testing