@class UIView, UIPopoverPresentationController, NSArray, NSString, _UIPopoverView, UIBarButtonItem, UIPanGestureRecognizer, UIViewController, _UIPopoverLayoutInfo, UIDimmingView, UIColor; @interface UIPopoverController : NSObject <UIDimmingViewDelegate, UIGestureRecognizerDelegatePrivate, UIAppearanceContainer> { UIViewController *_contentViewController; UIViewController *_splitParentController; _UIPopoverView *_popoverView; UIView *_layoutConstraintView; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _targetRectInEmbeddingView; UIBarButtonItem *_targetBarButtonItem; unsigned long long _requestedArrowDirections; unsigned long long _currentArrowDirection; long long _popoverBackgroundStyle; UIColor *_backgroundColor; struct CGSize { double width; double height; } _popoverContentSize; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _targetRectInDimmingView; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _embeddedTargetRect; long long _popoverControllerStyle; BOOL _ignoresKeyboardNotifications; UIView *_currentPresentationView; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _currentPresentationRectInView; unsigned long long _originalArrowDirections; unsigned int draggingChildScrollViewCount; id _target; long long _didFinish; UIViewController *_modalPresentationFromViewController; UIViewController *_modalPresentationToViewController; unsigned long long _toViewAutoResizingMask; UIViewController *_slidingViewController; long long _presentationDirection; int _presentationState; BOOL _didPresentInActiveSequence; unsigned long long _slideTransitionCount; UIPanGestureRecognizer *_vendedGestureRecognizer; UIPanGestureRecognizer *_dimmingViewGestureRecognizer; UIPopoverController *_retainedSelf; NSArray *_passthroughViews; 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 isWaitingToPresentShimmedPopover : 1; } _popoverControllerFlags; } @property (nonatomic) unsigned long long popoverArrowDirection; @property (retain, nonatomic) UIDimmingView *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 (nonatomic, setter=_setIgnoresKeyboardNotifications:) BOOL _ignoresKeyboardNotifications; @property (retain, nonatomic, getter=_presentationController, setter=_setPresentationController:) UIPopoverPresentationController *presentationController; @property (nonatomic) BOOL showsTargetRect; @property (nonatomic) BOOL showsOrientationMarker; @property (nonatomic) BOOL showsPresentationArea; @property (nonatomic, getter=_retainsSelfWhilePresented, setter=_setRetainsSelfWhilePresented:) BOOL retainsSelfWhilePresented; @property (nonatomic, getter=_allowsPopoverPresentationToAdapt, setter=_setAllowsPopoverPresentationToAdapt:) BOOL allowsPopoverPresentationToAdapt; @property (weak, nonatomic) id delegate; @property (retain, nonatomic) UIViewController *contentViewController; @property (nonatomic) struct CGSize { double x0; double x1; } popoverContentSize; @property (readonly, nonatomic, getter=isPopoverVisible) BOOL popoverVisible; @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) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_defaultPopoverLayoutMarginsForPopoverControllerStyle:(long long)a0 andContentViewController:(id)a1; + (BOOL)_forceAttemptsToAvoidKeyboard; + (Class)_popoverViewClass; + (BOOL)_popoversDisabled; + (void)_setForceModernPopoverUse:(BOOL)a0; + (BOOL)_showTargetRectPref; + (BOOL)_useLegacyPopoverControllers; - (void)_setPopoverView:(id)a0; - (void)_incrementSlideTransitionCount:(BOOL)a0; - (struct CGSize { double x0; double x1; })_currentPopoverContentSize; - (void)_transitionFromViewController:(id)a0 toViewController:(id)a1 animated:(BOOL)a2; - (id)init; - (int)_presentationState; - (id)_dimmingView; - (Class)_defaultChromeViewClass; - (id)popoverView; - (double)_presentationAnimationDuration; - (void)_stopWatchingForKeyboardNotifications; - (void)dealloc; - (long long)adaptivePresentationStyleForPresentationController:(id)a0; - (long long)_popoverBackgroundStyle; - (BOOL)_ignoresKeyboardNotifications; - (BOOL)_attemptsToAvoidKeyboard; - (BOOL)_embedsInView; - (id)_layoutInfoForCurrentKeyboardState; - (void)_startWatchingForScrollViewNotifications; - (void)_postludeForDismissal; - (id)_layoutInfoFromLayoutInfo:(id)a0 forCurrentKeyboardStateAndHostingWindow:(id)a1; - (void)setPopoverFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 animated:(BOOL)a1; - (void)_scrollViewWillBeginDragging:(id)a0; - (void)_invalidateLayoutInfo; - (BOOL)_gestureRecognizer:(id)a0 shouldBeRequiredToFailByGestureRecognizer:(id)a1; - (void)_setPresentationState:(int)a0; - (id /* block */)_completionBlockForDismissalWhenNotifyingDelegate:(BOOL)a0; - (BOOL)isPresentingOrDismissing; - (BOOL)_allowsFocusBehindDimmingView; - (void)_dismissPopoverAnimated:(BOOL)a0 stateOnly:(BOOL)a1 notifyDelegate:(BOOL)a2; - (id)_layoutInfoForCurrentKeyboardStateAndHostingWindow:(id)a0; - (void)_resetSlideTransitionCount; - (Class)_popoverLayoutInfoForChromeClass:(Class)a0; - (void)_startWatchingForKeyboardNotificationsIfNecessary; - (BOOL)_manuallyHandlesContentViewControllerAppearanceCalls; - (BOOL)_isDismissing; - (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; - (long long)_popoverControllerStyle; - (void)_scrollViewDidEndDragging:(id)a0; - (void)_setPopoverBackgroundStyle:(long long)a0; - (void)_setGesturesEnabled:(BOOL)a0; - (BOOL)_isPresenting; - (unsigned long long)_slideTransitionCount; - (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)_stopWatchingForScrollViewNotifications; - (void)_stopWatchingForNotifications; - (double)_dismissalAnimationDuration; - (void)popoverPresentationController:(id)a0 willRepositionPopoverToRect:(inout struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a1 inView:(inout id *)a2; - (void).cxx_destruct; - (void)dimmingViewWasTapped:(id)a0; - (void)dismissPopoverAnimated:(BOOL)a0; - (long long)adaptivePresentationStyleForPresentationController:(id)a0 traitCollection:(id)a1; - (BOOL)popoverPresentationControllerShouldDismissPopover:(id)a0; - (void)popoverPresentationControllerDidDismissPopover:(id)a0; - (id)initWithContentViewController:(id)a0; - (void)_stopWatchingForWindowRotations; - (void)_swipe:(id)a0; - (void)_adjustPopoverForNewContentSizeFromViewController:(id)a0 allowShrink:(BOOL)a1; - (void)_beginMapsTransitionToNewViewController:(id)a0 arrowDirections:(unsigned long long)a1 slideDuration:(double)a2 expandDuration:(double)a3; - (void)_beginMapsTransitionToNewViewController:(id)a0 newTargetRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 inView:(id)a2 arrowDirections:(unsigned long long)a3 slideDuration:(double)a4 expandDuration:(double)a5; - (BOOL)_canRepresentAutomatically; - (void)_commonPresentPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 permittedArrowDirections:(unsigned long long)a2 animated:(BOOL)a3; - (void)_containedViewControllerModalStateChanged; - (BOOL)_gestureRecognizer:(id)a0 shouldRequireFailureOfGestureRecognizer:(id)a1; - (id)_gestureRecognizerForPresentationFromEdge:(unsigned long long)a0; - (BOOL)_gestureRecognizerShouldBegin:(id)a0; - (void)_hostingWindowDidRotate:(id)a0; - (void)_hostingWindowWillRotate:(id)a0; - (id)_initWithContentViewController:(id)a0 popoverControllerStyle:(long long)a1; - (void)_keyboardStateChanged:(id)a0; - (void)_layoutDimmingViewForInterfaceOrientationOfHostingWindow:(id)a0; - (id)_managingSplitViewController; - (void)_modalAnimationFinishedEndIgnoringInteractiveEvents:(BOOL)a0; - (void)_modalTransition:(int)a0 fromViewController:(id)a1 toViewController:(id)a2 target:(id)a3 didFinish:(long long)a4; - (void)_moveAwayFromTheKeyboard:(id)a0; - (void)_newViewControllerWasPushed:(id)a0; - (void)_presentPopoverBySlidingIn:(BOOL)a0 fromEdge:(unsigned long long)a1 ofView:(id)a2 animated:(BOOL)a3 stateOnly:(BOOL)a4 notifyDelegate:(BOOL)a5; - (void)_presentPopoverFromEdge:(unsigned long long)a0 ofView:(id)a1 animated:(BOOL)a2; - (void)_presentPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 embeddedInView:(id)a1 usingViewForLayoutConstraints:(id)a2 permittedArrowDirections:(unsigned long long)a3; - (void)_presentPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 embeddedInView:(id)a1 usingViewForLayoutConstraints:(id)a2 permittedArrowDirections:(unsigned long long)a3 animate:(BOOL)a4; - (void)_presentShimmedPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 permittedArrowDirections:(unsigned long long)a2 animated:(BOOL)a3; - (void)_setManagingSplitViewController:(id)a0; - (void)_setSplitParentController:(id)a0; - (void)_setupPresentationController; - (BOOL)_shimPopoverPresentationController; - (BOOL)_shimPresentSlidingPopoverAnimated:(BOOL)a0; - (id)_splitParentController; - (void)_startWatchingForNavigationControllerNotifications:(id)a0; - (void)_startWatchingForWindowRotations; - (void)_stopWatchingForNavigationControllerNotifications:(id)a0; - (void)_updateDimmingViewTransformForInterfaceOrientationOfHostingWindow:(id)a0; - (void)presentPopoverFromBarButtonItem:(id)a0 permittedArrowDirections:(unsigned long long)a1 animated:(BOOL)a2; - (void)presentPopoverFromRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inView:(id)a1 permittedArrowDirections:(unsigned long long)a2 animated:(BOOL)a3; - (void)setContentViewController:(id)a0 animated:(BOOL)a1; @end