bevy/examples/mobile
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
..
android_basic Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
android_example Make the example android app explicitly handle some device config change events to avoid getting the activity destroyed (#18839) 2025-04-26 21:21:50 +00:00
android_example_native Make the example android app explicitly handle some device config change events to avoid getting the activity destroyed (#18839) 2025-04-26 21:21:50 +00:00
bevy_mobile_example.xcodeproj Link iOS example with rustc, and avoid C trampoline (#14780) 2025-03-17 21:14:07 +00:00
ios-src Link iOS example with rustc, and avoid C trampoline (#14780) 2025-03-17 21:14:07 +00:00
src Expose deferred screen edges setting for ios devices (#18729) 2025-04-30 21:24:53 +00:00
.gitignore Add features to switch NativeActivity and GameActivity usage (#12095) 2024-10-01 22:23:48 +00:00
build_rust_deps.sh Link iOS example with rustc, and avoid C trampoline (#14780) 2025-03-17 21:14:07 +00:00
Cargo.toml Link iOS example with rustc, and avoid C trampoline (#14780) 2025-03-17 21:14:07 +00:00
Makefile