PBPopupController

@objc
public class PBPopupController : NSObject, UIGestureRecognizerDelegate
extension PBPopupController: UIViewControllerTransitioningDelegate
extension PBPopupController: UIViewControllerPreviewingDelegate

Undocumented

Public Properties

  • The data source of the PBPopupController object.

    Declaration

    Swift

    @objc
    weak public var dataSource: PBPopupControllerDataSource?
  • The delegate of the PBPopupController object.

    Declaration

    Swift

    @objc
    weak public var delegate: PBPopupControllerDelegate?
  • The state of the popup presentation. (read-only)

    Declaration

    Swift

    @objc
    public internal(set) var popupPresentationState: PBPopupPresentationState { get }
  • The tap gesture recognizer attached to the popup bar for presenting the popup content view.

    Declaration

    Swift

    @objc
    public var popupBarTapGestureRecognizer: UITapGestureRecognizer!
  • The pan gesture recognizer attached to the popup bar for presenting the popup content view.

    Declaration

    Swift

    @objc
    public var popupBarPanGestureRecognizer: UIPanGestureRecognizer!
  • The pan gesture recognizer attached to the popup content view for dismissing the popup content view.

    Declaration

    Swift

    @objc
    public var popupContentPanGestureRecognizer: UIPanGestureRecognizer!
  • Set this property to false if you want addional safe area insets to be ignored when the popup bar is presented (usefull for iPad when the popup is the neighbour of another object).

    Declaration

    Swift

    @objc
    public var wantsAdditionalSafeAreaInsetBottom: Bool
  • Set this property to true if you want addional safe area insets to be on top when the popup bar is presented (usefull for Catalyst when the popup is presented on top).

    Declaration

    Swift

    @objc
    public var wantsAdditionalSafeAreaInsetTop: Bool
  • The preferred status bar style for the container view controller.

    Declaration

    Swift

    @objc
    public var containerPreferredStatusBarStyle: UIStatusBarStyle { get set }
  • The preferred status bar style for the popup content view controller when popupPresentationStyle is set to deck.

    Declaration

    Swift

    @objc
    public var popupPreferredStatusBarStyle: UIStatusBarStyle
  • The status bar style of the popup content view controller. Return this value when you override the preferredStatusBarStyle variable.

    Declaration

    Swift

    @objc
    public var popupStatusBarStyle: UIStatusBarStyle
  • Controls whether interaction with the popup generates haptic feedback to the user. The default value is true.

    Declaration

    Swift

    @objc
    public var allowPopupHapticFeedbackGeneration: Bool
  • The soft soimpact feedback specific intensity. A value between 0.0 and 1.0.

    Declaration

    Swift

    @objc
    public var softFeedbackGeneratorIntensity: CGFloat
  • The rigid impact feedback specific intensity. A value between 0.0 and 1.0.

    Declaration

    Swift

    @objc
    public var rigidFeedbackGeneratorIntensity: CGFloat

Gesture recognizers

  • Undocumented

    Declaration

    Swift

    public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRequireFailureOf otherGestureRecognizer: UIGestureRecognizer) -> Bool