DestinationPreviewViewController
public class DestinationPreviewViewController : UIViewController, Banner, DestinationDataSource
Banner that is shown at the bottom of the screen and allows to show final destination information
in PreviewViewController
.
-
The object that serves as the destination preview delegate.
Declaration
Swift
public weak var delegate: DestinationPreviewViewControllerDelegate?
-
Configuration of the banner.
Declaration
Swift
public let bannerConfiguration: BannerConfiguration
-
Customization options that are used for the destination(s) preview.
Declaration
Swift
public var destinationOptions: DestinationOptions { get set }
-
Initializes a
DestinationPreviewViewController
instance.Declaration
Swift
public required init(_ destinationOptions: DestinationOptions, bannerConfiguration: BannerConfiguration = BannerConfiguration(position: .bottomLeading))
Parameters
destinationOptions
Customization options that are used for the destination(s) preview.
bannerConfiguration
Configuration of the banner.
DestinationPreviewViewController
is shown at the bottom of the screen by default.