PTHalfModalPresentationManager


@interface PTHalfModalPresentationManager
    : NSObject <UIViewControllerTransitioningDelegate,
                UIPopoverPresentationControllerDelegate>

This class handles the creation of a UIPresentationController that displays its contents covering a portion of the screen, anchored to the bottom of the screen.

  • The source rect used when a popover presentation is required.

    Declaration

    Objective-C

    @property (nonatomic) CGRect popoverSourceRect;
  • The source view used when a popover presentation is required.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIView *popoverSourceView;
  • The bar button item on which to anchor a popover presentation.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIBarButtonItem *popoverBarButtonItem;