Closed tsvetann closed 2 years ago
Hi, you can place the immersive mode on the screen where you want to use it, as in the example below. When you leave the screen, you can restore it with navigationShow
.
React.useEffect(() => {
SystemNavigationBar.stickyImmersive();
return () => {
SystemNavigationBar.navigationShow();
};
}, []);
@kadiraydinli that's exactly what I ended up doing but wanted to double check if this is the best practice. Thanks for helping
What's the proper way to toggle immersive mode? I would only like to have immersive mode on a specific screen. navigationShow?