H Hector Alcala Member Licensed User Longtime User Apr 1, 2025 #1 I would like to know, how I can hide the Guideline at the bottom of the screen? Thank for Help
Erel B4X founder Staff member Licensed User Longtime User Apr 1, 2025 #2 You cannot completely hide it, however you can make it disappear as long as the user doesn't touch the screen. Add this to the bottom of the main module: B4X: #if OBJC @end @interface UIViewController (prefersHomeIndicatorAutoHidden) @end @implementation UIViewController (prefersHomeIndicatorAutoHidden) - (BOOL) prefersHomeIndicatorAutoHidden { return true; } #End If Upvote 0
You cannot completely hide it, however you can make it disappear as long as the user doesn't touch the screen. Add this to the bottom of the main module: B4X: #if OBJC @end @interface UIViewController (prefersHomeIndicatorAutoHidden) @end @implementation UIViewController (prefersHomeIndicatorAutoHidden) - (BOOL) prefersHomeIndicatorAutoHidden { return true; } #End If
H Hector Alcala Member Licensed User Longtime User Apr 1, 2025 #3 Thank you very much, Erel. As you mentioned, if the user touches the screen, the bar appears briefly and then disappears. Could the color of that bar be changed? Thank you very much for your help. Upvote 0
Thank you very much, Erel. As you mentioned, if the user touches the screen, the bar appears briefly and then disappears. Could the color of that bar be changed? Thank you very much for your help.
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2025 #4 See the answer here: https://stackoverflow.com/a/46199029/971547 It changes automatically to contrast the color behind it. Upvote 0
See the answer here: https://stackoverflow.com/a/46199029/971547 It changes automatically to contrast the color behind it.
H Hector Alcala Member Licensed User Longtime User Apr 2, 2025 #5 Thank you very much for your help. Upvote 0