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() -> Bool

    Return Value

    YES if the navigation bar should be hidden.