🎨
Control Style & Colors
Change and lock device orientation in the app
Hide / show progress in the app
Closes (kill) the app
1
const color = "#000000";
2
window.natively.setAppBackgroundColor(color);
1
const color = "#000000";
2
window.natively.setAppProgressColor(color);
1
const toggle = true;
2
window.natively.setAppSwipeNavigationIOS(toggle);
1
const style = "NONE"; // DARK, LIGHT or NONE
2
window.natively.setAppStatusBarStyleIOS(toggle);
1
const toggle = true;
2
window.natively.setAppPullToRefresh(toggle);
1
const orientation = "PORTRAIT"; // DEFAULT, PORTRAIT or LANDSCAPE
2
window.natively.setAppOrientation(orientation);
1
const toggle = false;
2
window.natively.showProgress(toggle);
1
window.natively.closeApp()
Last modified 3mo ago