Source
public enum Source
Describes the source view from which the popover is showing.
-
Specifies that the popover should display from a
UIBarButtonIteminstance.Declaration
Swift
case barButtonItem(UIBarButtonItem) -
Specifies that the popover should display from a
UIViewinstance and be anchored on the specificframe. If theframeisnilthen the provided view’s frame will be used as the anchor frame.Declaration
Swift
case view(container: UIView, frame: CGRect?)
View on GitHub
Source Enumeration Reference