PreviewOptions
public struct PreviewOptions
Customization options for the navigation preview user experience in a PreviewViewController
.
-
The styles that the
PreviewViewController
‘s internalStyleManager
object can select from for display.If this property is set to
nil
, aDayStyle
and aNightStyle
are created to be used as thePreviewViewController
’s styles. This property is set tonil
by default.Declaration
Swift
public private(set) var styles: [Style]? { get }
-
Initializes
PreviewOptions
that is used as a configuration for thePreviewViewController
.Declaration
Swift
public init(styles: [Style]? = nil)
Parameters
styles
The user interface styles that are available for display.