Class UIPopoverPresentationController

All Implemented Interfaces:
NSObjectProtocol, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UITraitEnvironment, ObjCProtocol

public class UIPopoverPresentationController
extends UIPresentationController
  • Constructor Details

    • UIPopoverPresentationController

      protected UIPopoverPresentationController()
    • UIPopoverPresentationController

      protected UIPopoverPresentationController​(NSObject.Handle h, long handle)
    • UIPopoverPresentationController

      protected UIPopoverPresentationController​(NSObject.SkipInit skipInit)
    • UIPopoverPresentationController

      public UIPopoverPresentationController​(UIViewController presentedViewController, UIViewController presentingViewController)
  • Method Details

    • getPopoverPresentationDelegate

      public UIPopoverPresentationControllerDelegate getPopoverPresentationDelegate()
    • setPopoverPresentationDelegate

      public void setPopoverPresentationDelegate​(UIPopoverPresentationControllerDelegate v)
    • getPermittedArrowDirections

      public UIPopoverArrowDirection getPermittedArrowDirections()
    • setPermittedArrowDirections

      public void setPermittedArrowDirections​(UIPopoverArrowDirection v)
    • getSourceView

      public UIView getSourceView()
    • setSourceView

      public void setSourceView​(UIView v)
    • getSourceRect

      public CGRect getSourceRect()
    • setSourceRect

      public void setSourceRect​(CGRect v)
    • canOverlapSourceViewRect

      public boolean canOverlapSourceViewRect()
      Since:
      Available in iOS 9.0 and later.
    • setCanOverlapSourceViewRect

      public void setCanOverlapSourceViewRect​(boolean v)
      Since:
      Available in iOS 9.0 and later.
    • getBarButtonItem

      public UIBarButtonItem getBarButtonItem()
    • setBarButtonItem

      public void setBarButtonItem​(UIBarButtonItem v)
    • getArrowDirection

      public UIPopoverArrowDirection getArrowDirection()
    • getPassthroughViews

      public NSArray<UIView> getPassthroughViews()
    • setPassthroughViews

      public void setPassthroughViews​(NSArray<UIView> v)
    • getBackgroundColor

      public UIColor getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor​(UIColor v)
    • getPopoverLayoutMargins

      public UIEdgeInsets getPopoverLayoutMargins()
    • setPopoverLayoutMargins

      public void setPopoverLayoutMargins​(UIEdgeInsets v)
    • getPopoverBackgroundViewClass

      public Class<? extends UIPopoverBackgroundView> getPopoverBackgroundViewClass()
    • setPopoverBackgroundViewClass

      public void setPopoverBackgroundViewClass​(Class<? extends UIPopoverBackgroundView> v)
    • getAdaptiveSheetPresentationController

      public UISheetPresentationController getAdaptiveSheetPresentationController()
      Since:
      Available in iOS 15.0 and later.