PTToolManagerViewControllerPresentation
@protocol PTToolManagerViewControllerPresentation <NSObject>
This protocol allows a conforming object, usually a UIViewController subclass, to control the
presentation of other view controllers.
-
Specifies whether the view controller prefers the navigation bar to be hidden or shown.
Declaration
Objective-C
- (BOOL)prefersNavigationBarHidden;Swift
optional func prefersNavigationBarHidden() -> BoolReturn Value
YESif the navigation bar should be hidden.
PTToolManagerViewControllerPresentation Protocol Reference