@class UIViewController, _UIAnimationCoordinator, NSMutableArray, NSString, UIImage, UIPreviewInteractionController, UIPopoverController, NSAttributedString, NSArray, NSMutableDictionary, _UIAlertControllerShimPresenter, NSPointerArray, _UIAlertControllerTextFieldViewController, UIAlertControllerStackManager, NSObject, NSSet, UIView, UIGestureRecognizer, UIAlertAction, UIAlertControllerVisualStyle, NSMapTable, UITapGestureRecognizer, NSIndexSet; @protocol UIAlertControllerCoordinatedActionPerforming, UIAlertControllerSystemProvidedPresentationDelegate, UIAlertControllerVisualStyleProviding; @interface UIAlertController : UIViewController <UIAlertControllerContaining, _UIAlertControllerTextFieldViewControllerContaining, UIPreviewInteractionControllerDelegate, UIAlertControllerVisualStyleProviding> { NSString *_message; NSAttributedString *_attributedTitle; NSAttributedString *_attributedMessage; NSAttributedString *_attributedDetailMessage; NSSet *_linkedAlertControllers; NSMutableDictionary *_actionToKeyCommandsDictionary; NSMapTable *_keyCommandToActionMapTable; long long _preferredStyle; long long _severity; UIViewController *_contentViewController; _UIAlertControllerTextFieldViewController *_textFieldViewController; UITapGestureRecognizer *_backButtonDismissGestureRecognizer; id _ownedTransitioningDelegate; BOOL _isInRecomputePreferredContentSize; long long _batchActionChangesInProgressCount; _UIAlertControllerShimPresenter *_presenter; NSPointerArray *_actionsWithInvokedHandlers; UIAlertControllerStackManager *_alertControllerStackManager; UIImage *_image; BOOL _springLoaded; } @property BOOL _shouldFlipFrameForShimDismissal; @property (retain, nonatomic) _UIAnimationCoordinator *temporaryAnimationCoordinator; @property (retain, nonatomic, getter=_previewInteractionController, setter=_setPreviewInteractionController:) UIPreviewInteractionController *previewInteractionController; @property (retain, nonatomic, setter=_setVisualStyle:) UIAlertControllerVisualStyle *_visualStyle; @property (readonly) NSMutableArray *_actions; @property (copy, nonatomic, getter=_indexesOfActionSectionSeparators, setter=_setIndexesOfActionSectionSeparators:) NSIndexSet *indexesOfActionSectionSeparators; @property (readonly) UIAlertAction *_cancelAction; @property (readonly) UIAlertAction *_focusedAction; @property (readonly) NSMutableArray *_actionDelimiterIndices; @property (readonly) UIView *_foregroundView; @property (readonly) UIView *_dimmingView; @property (readonly) long long _resolvedStyle; @property (readonly) BOOL _shouldProvideDimmingView; @property (readonly) BOOL _alignsToKeyboard; @property (nonatomic, getter=_isHidden, setter=_setHidden:) BOOL _hidden; @property (nonatomic, getter=_effectAlpha, setter=_setEffectAlpha:) double effectAlpha; @property (setter=_setShouldAllowNilParameters:) BOOL _shouldAllowNilParameters; @property (nonatomic, setter=_setCompatibilityPopoverController:) UIPopoverController *_compatibilityPopoverController; @property (readonly) _UIAlertControllerTextFieldViewController *_textFieldViewController; @property (nonatomic, getter=_hasPreservedInputViews, setter=_setHasPreservedInputViews:) BOOL hasPreservedInputViews; @property (retain, nonatomic, setter=_setSystemProvidedPresentationView:) UIView *_systemProvidedPresentationView; @property (retain, nonatomic, setter=_setSystemProvidedPresentationDelegate:) id<UIAlertControllerSystemProvidedPresentationDelegate> _systemProvidedPresentationDelegate; @property (retain, nonatomic, getter=_systemProvidedGestureRecognizer, setter=_setSystemProvidedGestureRecognizer:) UIGestureRecognizer *systemProvidedGestureRecognizer; @property (nonatomic, getter=_dismissedFromShim, setter=_setDismissedFromShim:) BOOL dismissedFromShim; @property (copy, nonatomic, getter=_attributedDetailMessage, setter=_setAttributedDetailMessage:) NSAttributedString *_attributedDetailMessage; @property (nonatomic, setter=_setWantsUnclippedContentViewControllerContainer:) BOOL _wantsUnclippedContentViewControllerContainer; @property (nonatomic, setter=_setWantsUnclippedHeaderContentViewControllerContainer:) BOOL _wantsUnclippedHeaderContentViewControllerContainer; @property (weak, nonatomic, getter=_styleProvider, setter=_setStyleProvider:) NSObject<UIAlertControllerVisualStyleProviding> *styleProvider; @property (weak, nonatomic) id<UIAlertControllerCoordinatedActionPerforming> coordinatedActionPerformingDelegate; @property (retain, nonatomic, setter=_setPresentationSourceRepresentationView:) UIView *_presentationSourceRepresentationView; @property (readonly) BOOL _shouldReverseActions; @property (retain, nonatomic, setter=_setSeparatedHeaderContentViewController:) UIViewController *_separatedHeaderContentViewController; @property (retain, nonatomic, setter=_setHeaderContentViewController:) UIViewController *_headerContentViewController; @property (retain, nonatomic) UIViewController *contentViewController; @property (nonatomic) long long preferredStyle; @property (nonatomic, getter=_titleMaximumLineCount, setter=_setTitleMaximumLineCount:) long long titleMaximumLineCount; @property (nonatomic, getter=_titleLineBreakMode, setter=_setTitleLineBreakMode:) long long titleLineBreakMode; @property (copy, nonatomic, getter=_attributedTitle, setter=_setAttributedTitle:) NSAttributedString *attributedTitle; @property (copy, nonatomic, getter=_attributedMessage, setter=_setAttributedMessage:) NSAttributedString *attributedMessage; @property (retain, nonatomic) UIImage *image; @property (copy, nonatomic, getter=_accessoryImage, setter=_setAccessoryImage:) UIImage *accessoryImage; @property (retain, nonatomic, setter=_setActions:) NSArray *actions; @property (nonatomic, setter=_setShouldAlignToKeyboard:) BOOL _shouldAlignToKeyboard; @property (retain, nonatomic) UIAlertAction *preferredAction; @property (readonly, nonatomic) NSArray *textFields; @property (copy, nonatomic) NSString *title; @property (copy, nonatomic) NSString *message; @property (nonatomic) long long severity; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)_allowInteractiveSheetDismissal; + (id)_alertControllerContainedInViewController:(id)a0; + (id)_alertControllerWithTitle:(id)a0 message:(id)a1; + (id)_createTransitioningDelegateForIdiom:(long long)a0; + (BOOL)_shouldUsePresentationController; + (id)alertControllerWithTitle:(id)a0 message:(id)a1 preferredStyle:(long long)a2; + (void)registerPlatformStyleProvider:(id)a0 forIdiom:(long long)a1; - (BOOL)_hasTitle; - (void)_handleKeyCommand:(id)a0; - (void)willTransitionToTraitCollection:(id)a0 withTransitionCoordinator:(id)a1; - (void)_getRotationContentSettings:(struct { BOOL x0; BOOL x1; BOOL x2; BOOL x3; BOOL x4; double x5; int x6; } *)a0; - (BOOL)shouldAutorotate; - (void)viewWillAppear:(BOOL)a0; - (id)cancelAction; - (void)dealloc; - (void)preferredContentSizeDidChangeForChildContentContainer:(id)a0; - (void)traitCollectionDidChange:(id)a0; - (void)viewWillLayoutSubviews; - (void)viewDidLayoutSubviews; - (void)addAction:(id)a0; - (void)viewDidLoad; - (void)setCancelAction:(id)a0; - (void)loadView; - (BOOL)isSpringLoaded; - (void)setSpringLoaded:(BOOL)a0; - (id)initWithNibName:(id)a0 bundle:(id)a1; - (void)viewWillDisappear:(BOOL)a0; - (BOOL)canBecomeFirstResponder; - (void).cxx_destruct; - (id)_alertControllerContainer; - (void)setModalPresentationStyle:(long long)a0; - (void)viewDidAppear:(BOOL)a0; - (BOOL)_isPresented; - (void)viewWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withTransitionCoordinator:(id)a1; - (void)setTitle:(id)a0; - (void)viewDidDisappear:(BOOL)a0; - (BOOL)canPerformAction:(SEL)a0 withSender:(id)a1; - (void)_uninstallBackGestureRecognizer; - (void)_action:(id)a0 changedToKeyCommandWithInput:(id)a1 modifierFlags:(long long)a2; - (id)_actionForReturnKey; - (void)_addActionWithTitle:(id)a0 image:(id)a1 style:(long long)a2 handler:(id /* block */)a3; - (void)_addActionWithTitle:(id)a0 style:(long long)a1 handler:(id /* block */)a2; - (void)_addActionWithTitle:(id)a0 style:(long long)a1 handler:(id /* block */)a2 shouldDismissHandler:(id /* block */)a3; - (void)_addKeyCommandForAction:(id)a0 withInput:(id)a1 modifierFlags:(long long)a2; - (void)_addReturnKeyCommandIfAppropriate; - (void)_addSectionDelimiter; - (id)_alertControllerView; - (BOOL)_allowsShowingDimmingView; - (void)_attemptAnimatedDismissWithGestureRecognizer:(id)a0; - (void)_becomeFirstResponderIfAppropriate; - (void)_beginNoPresentingViewControllerPresentation; - (long long)_buttonTypeForBackGestureForIdiom:(long long)a0; - (BOOL)_canBePresentedAtLocation:(struct CGPoint { double x0; double x1; })a0; - (BOOL)_canDismissWithGestureRecognizer; - (void)_childViewController:(id)a0 willTransitionToSize:(struct CGSize { double x0; double x1; })a1 withAnimations:(id /* block */)a2; - (void)_clearActionHandlers; - (id)_containedAlertController; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })_contentInsets; - (void)_contentViewControllerWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withAnimations:(id /* block */)a1; - (id)_currentDescriptor; - (BOOL)_defersToPresentingViewControllerForSupportedInterfaceOrientations; - (void)_didParentTextFieldViewController; - (void)_dismissAnimated:(BOOL)a0 triggeringAction:(id)a1; - (void)_dismissAnimated:(BOOL)a0 triggeringAction:(id)a1 triggeredByPopoverDimmingView:(BOOL)a2 dismissCompletion:(id /* block */)a3; - (void)_dismissFromBackButton:(id)a0; - (void)_dismissFromPopoverDimmingView; - (id)_dismissGestureRecognizer; - (void)_dismissWithAction:(id)a0; - (void)_dismissWithAction:(id)a0 dismissCompletion:(id /* block */)a1; - (void)_dismissWithCancelAction; - (void)_endNoPresentingViewControllerPresentation; - (void)_flipFrameForShimDismissalIfNecessary; - (void)_handleReturn; - (BOOL)_hasAttributedMessage; - (BOOL)_hasAttributedTitle; - (BOOL)_hasContentToDisplay; - (BOOL)_hasDetailMessage; - (BOOL)_hasMessage; - (void)_headerContentViewControllerWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withAnimations:(id /* block */)a1; - (BOOL)_idiomSupportsBackGesture:(long long)a0; - (void)_installBackGestureRecognizer; - (void)_invokeHandlersForAction:(id)a0; - (BOOL)_isPresentedAsPopover; - (BOOL)_isSupportedInterfaceOrientation:(long long)a0; - (id)_keyCommandForAction:(id)a0 input:(id)a1 modifierFlags:(long long)a2; - (void)_logBeingDismissed; - (void)_logBeingPresented; - (long long)_modalPresentationStyleForResolvedStyle; - (BOOL)_needsPreferredSizeCalculated; - (void)_performAction:(id)a0 invokeActionBlock:(id /* block */)a1 dismissAndPerformActionIfNotAlreadyPerformed:(id /* block */)a2; - (void)_performBatchActionChangesWithBlock:(id /* block */)a0; - (void)_postDidBeginSystemProvidedDismissalOfAlertController; - (void)_postWillBeginSystemProvidedDismissalOfAlertController; - (struct __CFString { } *)_powerLoggingEventName; - (id)_presentationControllerForPresentedController:(id)a0 presentingController:(id)a1 sourceController:(id)a2; - (void)_preserveInputViewsAnimated:(BOOL)a0; - (void)_recomputePreferredContentSize; - (void)_reevaluateResolvedStyle; - (void)_removeAllActions; - (void)_removeAllTextFields; - (void)_removeKeyCommandForAction:(id)a0; - (BOOL)_requiresCustomPresentationController; - (void)_resolvedStyleChanged; - (void)_restoreInputViewsAnimated:(BOOL)a0; - (id)_returnKeyCommand; - (void)_returnKeyPressedInLastTextField; - (void)_setShouldReverseActions:(BOOL)a0; - (id)_setView:(id)a0 forSystemProvidedPresentationWithDelegate:(id)a1; - (BOOL)_shouldBecomeFirstResponder; - (BOOL)_shouldDismissOnSizeChange; - (BOOL)_shouldFitWidthToContentViewControllerWidth; - (BOOL)_shouldPreserveInputViews; - (BOOL)_shouldSizeToFillSuperview; - (BOOL)_shouldSupportReturnKeyPresses; - (BOOL)_shouldTreatEmptyStringsAsNil; - (id)_textFieldContainingViewWithTextField:(id)a0 position:(long long)a1; - (void)_updateModalPresentationStyle; - (void)_updateProvidedStyle; - (void)_updateProvidedStyleWithTraitCollection:(id)a0; - (void)_updateShouldAlignToKeyboard; - (void)_updateTextFieldViewControllerWithVisualStyle:(id)a0; - (void)_updateViewFrameForLandscapePresentationInShimIfNecessary; - (BOOL)_viewControllerIsPresentedInModalPresentationContext:(id)a0; - (void)_willParentTextFieldViewController; - (void)addTextFieldWithConfigurationHandler:(id /* block */)a0; - (void)linkAlertController:(id)a0; - (id)linkedAlertControllers; - (BOOL)performsViewControllerCommitTransitionForPreviewInteractionController:(id)a0; - (id)platformStyleViewForAlertController:(id)a0 inIdiom:(long long)a1; - (void)previewInteractionController:(id)a0 performCommitForPreviewViewController:(id)a1 committedViewController:(id)a2; - (id)previewInteractionController:(id)a0 viewControllerForPreviewingAtPosition:(struct CGPoint { double x0; double x1; })a1 inView:(id)a2 presentingViewController:(id *)a3; - (void)previewInteractionController:(id)a0 willPresentViewController:(id)a1 forPosition:(struct CGPoint { double x0; double x1; })a2 inSourceView:(id)a3; - (void)setTextFieldsCanBecomeFirstResponder:(BOOL)a0; - (void)unlinkAlertController:(id)a0; - (id)visualStyleForAlertControllerStyle:(long long)a0 traitCollection:(id)a1 descriptor:(id)a2; @end