Source

public enum Source

Describes the source view from which the popover is showing.

  • Specifies that the popover should display from a UIBarButtonItem instance.

    Declaration

    Swift

    case barButtonItem(UIBarButtonItem)
  • Specifies that the popover should display from a UIView instance and be anchored on the specific frame. If the frame is nil then the provided view’s frame will be used as the anchor frame.

    Declaration

    Swift

    case view(container: UIView, frame: CGRect?)