iOS Question How to hide bottom Guideline ?

Hector Alcala

Member
Licensed User
Longtime User
I would like to know, how I can hide the Guideline at the bottom of the screen?

1743461980264.png


Thank for Help
 
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:
Code: Copy
#if OBJC
@end
@interface UIViewController (prefersHomeIndicatorAutoHidden)
@end
@implementation UIViewController (prefersHomeIndicatorAutoHidden)
- (BOOL) prefersHomeIndicatorAutoHidden {
    return true; 
}
#End If
 
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.
 
Upvote 0
Back
Top