PTPopoverNavigationController
@interface PTPopoverNavigationController
: UINavigationController <PTOverridable>
A UINavigationController
subclass designed to be used with a UIPopoverPresentationController
,
or other UIPresentationController
classes that rely on the preferredContentSize
of the
view controllers on the navigation stack.
The default modalPresentationStyle
for instances of this class is UIModalPresentationCustom
and the transitioningDelegate
is set to the presentationManager
property.
-
The presentation manager responsible for controlling how the view controller is displayed.
Declaration
Objective-C
@property (nonatomic, strong, nullable) PTHalfModalPresentationManager *presentationManager;
Swift
var presentationManager: PTHalfModalPresentationManager? { get set }