PopoverConfig
public struct PopoverConfig
A configuration for UIPopoverPresentationController.
-
Describes the source view from which the popover is showing.
See moreDeclaration
Swift
public enum Source -
Initializes and returns a new
PopoverConfigobject.Declaration
Swift
public init(source: Source, arrowDirection: UIPopoverArrowDirection = .any, delegate: UIPopoverPresentationControllerDelegate? = nil)Parameters
sourceThe source for the popoever.
arrowDirectionThe arrow direction for the popover. The default is
.any.delegateThe delegate for the popover. The default is
nil.Return Value
A new
PopoverConfigobject.
View on GitHub
PopoverConfig Structure Reference