bevy_ios_safearea 0.5.1

Bevy plugin to query device safe area insets
Documentation
1
2
3
4
5
6
7
8
use std::ffi;

unsafe extern "C" {
    pub(crate) fn swift_safearea_top(view: *mut ffi::c_void) -> ffi::c_float;
    pub(crate) fn swift_safearea_bottom(view: *mut ffi::c_void) -> ffi::c_float;
    pub(crate) fn swift_safearea_left(view: *mut ffi::c_void) -> ffi::c_float;
    pub(crate) fn swift_safearea_right(view: *mut ffi::c_void) -> ffi::c_float;
}