Capacitor 5.x plugin to detect touching iOS status bar
npm install @nemorize/capacitor-detect-touch-status-bar
npx cap sync
addListener(eventName: 'touch', listenerFunc: TouchStatusBarListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for touch event.
Param | Type |
---|---|
eventName |
'touch' |
listenerFunc |
TouchStatusBarListener |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Prop | Type |
---|---|
remove |
() => Promise<void> |
(): void