@class UIBarButtonItem, _UIPopoverView, UIViewController, UIView, _UICutoutShadowView, NSString, _UIPopoverLayoutInfo, UIColor, NSArray, UISheetPresentationController, _UIPopoverDimmingView, UIPanGestureRecognizer; @protocol UIPopoverPresentationControllerSourceItem, _UIPopoverHostManager, UIPopoverPresentationControllerDelegate; @interface UIPopoverPresentationController : UIPresentationController <_UIPopoverDimmingViewDelegate, UIGestureRecognizerDelegatePrivate> { UIViewController *_contentViewController; _UIPopoverView *_popoverView; _UICutoutShadowView *_shadowView; UIView *_layoutConstraintView; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _targetRectInEmbeddingView; UIBarButtonItem *_targetBarButtonItem; unsigned long long _currentArrowDirection; long long _popoverBackgroundStyle; UIColor *_backgroundColor; UIColor *_arrowBackgroundColor; struct CGSize { double width; double height; } _popoverContentSize; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _lastSourceRectInContainerView; long long _popoverControllerStyle; BOOL _ignoresKeyboardNotifications; BOOL _canOverlapSourceViewRect; BOOL _backgroundBlurDisabled; BOOL _overrideAllowsHitTestingOnBackgroundViews; unsigned int draggingChildScrollViewCount; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _previousContainerViewRect; BOOL _useSourceViewBoundsAsSourceRect; long long _presentationDirection; int _presentationState; BOOL _didPresentInActiveSequence; unsigned long long _slideTransitionCount; UIPanGestureRecognizer *_vendedGestureRecognizer; UIPanGestureRecognizer *_dimmingViewGestureRecognizer; struct { unsigned char isPresentingModalViewController : 1; unsigned char isPresentingActionSheet : 1; unsigned char wasIgnoringDimmingViewTouchesBeforeScrolling : 1; unsigned char isInTextEffectsWindow : 1; unsigned char isEmbeddingInView : 1; unsigned char embeddedPresentationBounces : 1; unsigned char isRepositioningRectDisabled : 1; unsigned char sendingDelegateWillRepositionToRect : 1; unsigned char isObservingFocusUpdateNotification : 1; } _popoverControllerFlags; NSString *_popoverIdentifier; id<_UIPopoverHostManager> _hostManager; UIPanGestureRecognizer *_detachGestureRecognizer; BOOL _wasDetached; BOOL _shouldSendDidDismiss; } @property (nonatomic) unsigned long long popoverArrowDirection; @property (nonatomic, getter=_centersPopoverIfSourceViewNotSet, setter=_setCentersPopoverIfSourceViewNotSet:) BOOL _centersPopoverIfSourceViewNotSet; @property (retain, nonatomic) _UIPopoverDimmingView *dimmingView; @property (nonatomic) BOOL dismissesOnRotation; @property (retain, nonatomic) _UIPopoverLayoutInfo *preferredLayoutInfo; @property (weak, nonatomic, getter=_presentingView, setter=_setPresentingView:) UIView *presentingView; @property (nonatomic, getter=_presentationEdge, setter=_setPresentationEdge:) unsigned long long presentationEdge; @property (retain, nonatomic, getter=_sourceOverlayView, setter=_setSourceOverlayView:) UIView *sourceOverlayView; @property (retain, nonatomic, getter=_sourceOverlayViewConstraints, setter=_setSourceOverlayViewConstraints:) NSArray *sourceOverlayViewConstraints; @property (nonatomic) BOOL showsTargetRect; @property (nonatomic) BOOL showsOrientationMarker; @property (nonatomic) BOOL showsPresentationArea; @property (retain, nonatomic, getter=_targetRectView, setter=_setTargetRectView:) UIView *targetRectView; @property (nonatomic, getter=_retainsSelfWhilePresented, setter=_setRetainsSelfWhilePresented:) BOOL retainsSelfWhilePresented; @property (retain, nonatomic) UIPopoverPresentationController *retainedSelf; @property (nonatomic, getter=_shouldHideArrow, setter=_setShouldHideArrow:) BOOL _shouldHideArrow; @property (nonatomic, getter=_arrowOffset, setter=_setArrowOffset:) double _arrowOffset; @property (nonatomic, setter=_setDimmingViewTopEdgeInset:) double _dimmingViewTopEdgeInset; @property (nonatomic, getter=_shouldDisableInteractionDuringTransitions, setter=_setShouldDisableInteractionDuringTransitions:) BOOL shouldDisableInteractionDuringTransitions; @property (nonatomic, setter=_setIgnoreBarButtonItemSiblings:) BOOL _ignoreBarButtonItemSiblings; @property (nonatomic, setter=_setPopoverBackgroundStyle:) long long _popoverBackgroundStyle; @property (nonatomic, setter=_setSoftAssertWhenNoSourceViewOrBarButtonItemSpecified:) BOOL _softAssertWhenNoSourceViewOrBarButtonItemSpecified; @property (nonatomic, setter=_setAllowsSourceViewInDifferentWindowThanInitialPresentationViewController:) BOOL _allowsSourceViewInDifferentWindowThanInitialPresentationViewController; @property (nonatomic, getter=_shouldPreserveFirstResponder, setter=_setShouldPreserveFirstResponder:) BOOL shouldPreserveFirstResponder; @property (nonatomic, getter=_isAdaptivityEnabled, setter=_setAdaptivityEnabled:) BOOL adaptivityEnabled; @property (nonatomic, setter=_setIgnoresKeyboardNotifications:) BOOL _ignoresKeyboardNotifications; @property (nonatomic, setter=_setPreferredHorizontalAlignment:) long long _preferredHorizontalAlignment; @property (nonatomic, setter=_setAllowsFocusInPresentingViewController:) BOOL _allowsFocusInPresentingViewController; @property (weak, nonatomic) id delegate; @property (nonatomic) unsigned long long permittedArrowDirections; @property (retain, nonatomic) UIView *sourceView; @property (nonatomic) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } sourceRect; @property (nonatomic) BOOL canOverlapSourceViewRect; @property (retain, nonatomic) id sourceItem; @property (retain, nonatomic) UIBarButtonItem *barButtonItem; @property (readonly, nonatomic) unsigned long long arrowDirection; @property (copy, nonatomic) NSArray *passthroughViews; @property (copy, nonatomic) UIColor *backgroundColor; @property (nonatomic) struct UIEdgeInsets { double top; double left; double bottom; double right; } popoverLayoutMargins; @property (retain, nonatomic) Class popoverBackgroundViewClass; @property (readonly, nonatomic) UISheetPresentationController *adaptiveSheetPresentationController; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)_alwaysAllowPopoverPresentations; + (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_defaultPopoverLayoutMarginsForPopoverControllerStyle:(long long)a0 andContentViewController:(id)a1; + (BOOL)_forceAttemptsToAvoidKeyboard; + (id)_platformHostManagerForController:(id)a0; + (Class)_popoverViewClass; + (void)_setAlwaysAllowPopoverPresentations:(BOOL)a0; + (BOOL)_showTargetRectPref; - (BOOL)_fallbackShouldDismiss; - (void)_setPopoverView:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_sourceRectInCoordinateSpace:(id)a0; - (id)initWithPresentedViewController:(id)a0 presentingViewController:(id)a1; - (void)_setOverrideAllowsHitTestingOnBackgroundViews:(BOOL)a0; - (void)_setBackgroundBlurDisabled:(BOOL)a0; - (BOOL)_attemptDismissalWithCompletion:(id /* block */)a0; - (BOOL)popoverDimmingViewDidReceiveDismissalInteraction:(id)a0; - (id)_presentationView; - (void)_createHostManagerIfNeeded; - (void)_incrementSlideTransitionCount:(BOOL)a0; - (struct CGSize { double x0; double x1; })popoverContentSize; - (void)_transitionToDidEnd; - (void)dismissalTransitionWillBegin; - (void)_observeFocusDidUpdateNotification:(id)a0; - (struct CGSize { double x0; double x1; })_currentPopoverContentSize; - (void)dismissalTransitionDidEnd:(BOOL)a0; - (BOOL)_focusedItemFrameIntersectsSufficientlyWithPresentedView:(id)a0; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_baseContentInsetsWithLeftMargin:(double *)a0 rightMargin:(double *)a1; - (void)presentationTransitionDidEnd:(BOOL)a0; - (void)_sendFallbackDidDismiss; - (void)_transitionFromViewController:(id)a0 toViewController:(id)a1 animated:(BOOL)a2; - (void)_realSourceViewDidChangeFromView:(id)a0 toView:(id)a1; - (void)_handlePan:(id)a0; - (id)init; - (BOOL)_backgroundBlurDisabled; - (void)setArrowBackgroundColor:(id)a0; - (int)_presentationState; - (BOOL)_overrideAllowsHitTestingOnBackgroundViews; - (void)_presentingViewControllerWindowSceneDidUpdateEffectiveGeometry:(id)a0; - (id)_hostManagerPopoverUpdateConfiguration; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_sourceRectInContainerView; - (BOOL)shouldPresentInFullscreen; - (id)_dimmingView; - (void)_keyboardDidHide:(id)a0; - (Class)_defaultChromeViewClass; - (void)_convertToSceneFromPresentingViewController:(id)a0; - (void)_autoDismissIfFocusedItemSufficientlyIntersectsPresentedView; - (id)_exceptionStringForNilSourceViewOrBarButtonItem; - (id)popoverView; - (double)_presentationAnimationDuration; - (void)_stopWatchingForKeyboardNotifications; - (BOOL)_shouldUseNewPopoverAnimations; - (void)dealloc; - (struct CGSize { double x0; double x1; })_defaultPopoverSize; - (id)_metrics; - (void)_updateSourceOverlayViewConstraints; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_containingFrameInsets; - (BOOL)_ignoresKeyboardNotifications; - (BOOL)_shouldOccludeDuringPresentation; - (BOOL)_presentationPotentiallyUnderlapsStatusBar; - (BOOL)_attemptsToAvoidKeyboard; - (id)_hostManagerPopoverCreationConfiguration; - (void)_transitionToWillBegin; - (BOOL)_embedsInView; - (id)_layoutInfoForCurrentKeyboardState; - (void)_realSourceViewGeometryDidChange; - (struct CGSize { double x0; double x1; })_proposedSize; - (void)set_ignoreBarButtonItemSiblings:(BOOL)a0; - (id)_adaptiveFormSheetPresentationController; - (void)_transitionFromDidEnd; - (id)_preferredAnimationControllerForPresentation; - (BOOL)dimmingViewWasTapped:(id)a0 withDismissCompletion:(id /* block */)a1; - (id)_popoverHostingWindow; - (void)_startWatchingForScrollViewNotifications; - (id)arrowBackgroundColor; - (void)_sendDelegateWillRepositionToRect; - (id)presentedView; - (void)_postludeForDismissal; - (void)_dismissWithCompletion:(id /* block */)a0; - (void)containerViewWillLayoutSubviews; - (id)_layoutInfoFromLayoutInfo:(id)a0 forCurrentKeyboardStateAndHostingWindow:(id)a1; - (BOOL)_popoverIsDismissingBecauseDismissInteractionOccurred; - (void)preferredContentSizeDidChangeForChildContentContainer:(id)a0; - (void)traitCollectionDidChange:(id)a0; - (void)setPopoverFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 animated:(BOOL)a1; - (BOOL)_shouldKeepCurrentFirstResponder; - (void)_scrollViewWillBeginDragging:(id)a0; - (BOOL)_forcesPreferredAnimationControllers; - (void)_sendFallbackWillDismiss; - (void)_invalidateLayoutInfo; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })_containingFrame; - (void)_setPresentationState:(int)a0; - (BOOL)_isShimmingPopoverControllerPresentation; - (id /* block */)_completionBlockForDismissalWhenNotifyingDelegate:(BOOL)a0; - (void)_cancelDelayedFocusAutoDismiss; - (BOOL)isPresentingOrDismissing; - (BOOL)_allowsFocusBehindDimmingView; - (id)_initialPresentationViewControllerForViewController:(id)a0; - (id)_lowerWindowDismissalGestureViews; - (BOOL)_handlesKeyboardAvoidance; - (void)_dismissPopoverAnimated:(BOOL)a0 stateOnly:(BOOL)a1 notifyDelegate:(BOOL)a2; - (id)_layoutInfoForCurrentKeyboardStateAndHostingWindow:(id)a0; - (void)_moveAwayFromTheKeyboard:(id)a0 showing:(BOOL)a1; - (id)_createHostManagerPopoverWithConfiguration:(id)a0; - (void)_resetSlideTransitionCount; - (Class)_popoverLayoutInfoForChromeClass:(Class)a0; - (void)_startWatchingForKeyboardNotificationsIfNecessary; - (id)_preferredAnimationControllerForDismissal; - (BOOL)_manuallyHandlesContentViewControllerAppearanceCalls; - (BOOL)_shouldPresentedViewControllerControlStatusBarAppearance; - (BOOL)_isDismissing; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_additionalSafeAreaInsets; - (void)_setContentViewController:(id)a0 backgroundStyle:(long long)a1 animated:(BOOL)a2; - (void)_performHierarchyCheckOnViewController:(id)a0; - (void)setPopoverContentSize:(struct CGSize { double x0; double x1; })a0 animated:(BOOL)a1; - (BOOL)_shouldConvertToScene; - (BOOL)popoverDimmingViewShouldAllowInteraction:(id)a0; - (BOOL)_shouldAutoDismissOnFocusedItemIntersection; - (void)_updateShouldObserveFocusUpdateNotification:(BOOL)a0; - (long long)_popoverControllerStyle; - (id)_hostManagerPopoverCloseConfiguration; - (void)_scrollViewDidEndDragging:(id)a0; - (BOOL)isPopoverVisible; - (id)_createVisualStyleForProvider:(id)a0; - (void)_transitionFromWillBegin; - (void)setPopoverContentSize:(struct CGSize { double x0; double x1; })a0; - (void)_setGesturesEnabled:(BOOL)a0; - (void)_setPopoverFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 animated:(BOOL)a1 coordinator:(id)a2; - (BOOL)_isPresenting; - (void)_clearCachedPopoverContentSize; - (BOOL)_shouldPopoverContentExtendOverArrowForViewController:(id)a0 backgroundViewClass:(Class)a1; - (unsigned long long)_slideTransitionCount; - (void)_setContentViewController:(id)a0 animated:(BOOL)a1; - (struct CGPoint { double x0; double x1; })_centerPointForScale:(double)a0 frame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 anchor:(struct CGPoint { double x0; double x1; })a2; - (void)_setLowerWindowDismissalGestureViews:(id)a0; - (void)_stopWatchingForScrollViewNotifications; - (id)_backgroundView; - (void)_stopWatchingForNotifications; - (void)_closeScene; - (void)_keyboardWillShow:(id)a0; - (double)_dismissalAnimationDuration; - (long long)presentationStyle; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })frameOfPresentedViewInContainerView; - (long long)_defaultPresentationStyleForTraitCollection:(id)a0; - (id)shadowView; - (void)presentationTransitionWillBegin; - (id)_passthroughViews; - (void).cxx_destruct; - (void)viewWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withTransitionCoordinator:(id)a1; @end