bevy/crates/bevy_winit/src
Peter S. cd67bac544
Expose deferred screen edges setting for ios devices (#18729)
# Objective

- This just exposes the preferred [screen edges deferring system
gestures](https://developer.apple.com/documentation/uikit/uiviewcontroller/preferredscreenedgesdeferringsystemgestures)
setting from
[winit](https://docs.rs/winit/latest/winit/platform/ios/trait.WindowExtIOS.html#tymethod.set_preferred_screen_edges_deferring_system_gestures),
making it accessible in bevy apps.

This setting is useful for ios apps that make use of the screen edges,
letting the app have control of the first edge gesture before relegating
to the os.


## Testing

- Tested on simulator and on an iPhone Xs

---

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Greeble <166992735+greeble-dev@users.noreply.github.com>
Co-authored-by: François Mockers <mockersf@gmail.com>
2025-04-30 21:24:53 +00:00
..
accessibility.rs Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
converters.rs Expose deferred screen edges setting for ios devices (#18729) 2025-04-30 21:24:53 +00:00
cursor.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
custom_cursor.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
lib.rs 0.16 Regression fix: re-expose the display handle via a wrapper resource (#18644) 2025-03-31 18:47:08 +00:00
state.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
system.rs Expose deferred screen edges setting for ios devices (#18729) 2025-04-30 21:24:53 +00:00
winit_config.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
winit_monitors.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
winit_windows.rs Expose deferred screen edges setting for ios devices (#18729) 2025-04-30 21:24:53 +00:00