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
PopoverConfig
object.Declaration
Swift
public init(source: Source, arrowDirection: UIPopoverArrowDirection = .any, delegate: UIPopoverPresentationControllerDelegate? = nil)
Parameters
source
The source for the popoever.
arrowDirection
The arrow direction for the popover. The default is
.any
.delegate
The delegate for the popover. The default is
nil
.Return Value
A new
PopoverConfig
object.