import { topmost } from "tns-core-modules/ui/frame" ; /**
 * Programmatically remove all buttons from the ActionBar
 */ export function actionBarSetStatusBarStyle ( style ) { if ( topmost ( ) . ios ) { const navigationBar = topmost ( ) . ios . controller . navigationBar ; navigationBar . barStyle = style ; } }