docs.rs failed to build bevy_ios_safearea-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
bevy_ios_safearea-0.3.0
bevy_ios_safearea
Bevy plugin to query ios device safe area insets
Features
- reads safe area on app start
- easy access via a resource
- noop on non-ios platforms (no
cfgs needed in your app code)
Instructions
- Add to XCode: Add SPM (Swift Package Manager) dependency
- Add Rust dependency
- Setup Plugin
1. Add to XCode
- Go to
File->Add Package Dependenciesand pastehttps://github.com/rustunit/bevy_ios_safearea.gitinto the search bar on the top right:
2. Add Rust dependency
cargo add bevy_ios_safearea
or
# always pin to the same exact version you also of the Swift package
= { = "=0.1.0" }
3. Setup Plugin in Bevy
Initialize Bevy Plugin:
// request initialisation right on startup
app.add_plugins;
## Our Other Crates
-