0.0.4 • Published 1 year ago
capacitor-native-safearea v0.0.4
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; } |