Class UIPopoverController

All Implemented Interfaces:
NSObjectProtocol, UIAppearanceContainer, ObjCProtocol

@Deprecated
public class UIPopoverController
extends NSObject
implements UIAppearanceContainer
Deprecated.
Deprecated in iOS 9.0. UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController.
  • Constructor Details

    • UIPopoverController

      public UIPopoverController()
      Deprecated.
    • UIPopoverController

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

      protected UIPopoverController​(NSObject.SkipInit skipInit)
      Deprecated.
    • UIPopoverController

      public UIPopoverController​(UIViewController viewController)
      Deprecated.
  • Method Details

    • getDelegate

      public UIPopoverControllerDelegate getDelegate()
      Deprecated.
    • setDelegate

      public void setDelegate​(UIPopoverControllerDelegate v)
      Deprecated.
    • getContentViewController

      public UIViewController getContentViewController()
      Deprecated.
    • setContentViewController

      public void setContentViewController​(UIViewController v)
      Deprecated.
    • getPopoverContentSize

      public CGSize getPopoverContentSize()
      Deprecated.
    • setPopoverContentSize

      public void setPopoverContentSize​(CGSize v)
      Deprecated.
    • isPopoverVisible

      public boolean isPopoverVisible()
      Deprecated.
    • getPopoverArrowDirection

      public UIPopoverArrowDirection getPopoverArrowDirection()
      Deprecated.
    • getPassthroughViews

      public NSArray<UIView> getPassthroughViews()
      Deprecated.
    • setPassthroughViews

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

      public UIColor getBackgroundColor()
      Deprecated.
    • setBackgroundColor

      public void setBackgroundColor​(UIColor v)
      Deprecated.
    • getPopoverLayoutMargins

      public UIEdgeInsets getPopoverLayoutMargins()
      Deprecated.
    • setPopoverLayoutMargins

      public void setPopoverLayoutMargins​(UIEdgeInsets v)
      Deprecated.
    • getPopoverBackgroundViewClass

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

      public void setPopoverBackgroundViewClass​(Class<? extends UIPopoverBackgroundView> v)
      Deprecated.
    • init

      protected long init​(UIViewController viewController)
      Deprecated.
    • setContentViewController

      public void setContentViewController​(UIViewController viewController, boolean animated)
      Deprecated.
    • setPopoverContentSize

      public void setPopoverContentSize​(CGSize size, boolean animated)
      Deprecated.
    • presentFromRectInView

      public void presentFromRectInView​(CGRect rect, UIView view, UIPopoverArrowDirection arrowDirections, boolean animated)
      Deprecated.
    • presentFromBarButtonItem

      public void presentFromBarButtonItem​(UIBarButtonItem item, UIPopoverArrowDirection arrowDirections, boolean animated)
      Deprecated.
    • dismiss

      public void dismiss​(boolean animated)
      Deprecated.