capacitor-native-safearea
v0.0.4
Published
A Capacitor plugin that adds native Safe Area support for iOS applications, ensuring your app's content is displayed correctly within the safe areas of the device screen.
Downloads
2
Readme
capacitor-native-safearea
A Capacitor plugin that adds native Safe Area support for iOS applications, ensuring your app's content is displayed correctly within the safe areas of the device screen.
Install
npm install capacitor-native-safearea
npx cap sync
API
showTopSafeArea(...)
showTopSafeArea(options: { color?: string; }) => Promise<void>
| Param | Type |
| ------------- | -------------------------------- |
| options
| { color?: string; } |
showBottomSafeArea(...)
showBottomSafeArea(options: { color?: string; }) => Promise<void>
| Param | Type |
| ------------- | -------------------------------- |
| options
| { color?: string; } |