can I hide Action sheet bar?

Hi, Is it possible, programmatically or with the .plist setting, to hide the bar for opening the Action Sheet View?

regards, Maurizio

Do you mean the home indicator for devices that don't have home button? It's better to use the safe area margins provided by UIKit or in the Storyboard to create views that won't overlap the home indicator. If you really need to, though, you can override a specific view controller's prefersHomeIndicatorAutoHidden property like this:

override var prefersHomeIndicatorAutoHidden: Bool {
    return true
}

thanks for the reply, you are in the right, I speak of the Home indicator, sorry for the bad description. I tried with this objective-c code but the Home Indicator is always present:

- (BOOL) prefersHomeIndicatorAutoHidden {
     return YES;
}
- (BOOL) swizzledPrefersHomeIndicatorAutoHidden {
     return YES;
}

update, the code works I had entered it in the wrong view controller,

would it be possible to completely disable the default Home Indicator and manage the behavior from a custom button in my button toolbar?

can I hide Action sheet bar?
 
 
Q