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 specificframe
. If theframe
isnil
then the provided view’s frame will be used as the anchor frame.Declaration
Swift
case view(container: UIView, frame: CGRect?)