SnapshotViewConfiguration
@objc(IAVDSnapshotViewConfiguration)
public final class SnapshotViewConfiguration : NSObject
Configuration options for the 3D snapshot view.
-
Attributes used to customize the header rendered above the UI element.
See moreDeclaration
Swift
@objc(IAVDSnapshotViewHeaderAttributes) public final class HeaderAttributes : NSObject
-
The spacing between layers along the z-axis.
Declaration
Swift
@objc public var zSpacing: Float
-
The minimum spacing between layers along the z-axis.
Declaration
Swift
@objc public var minimumZSpacing: Float
-
The maximum spacing between layers on the z-axis.
Declaration
Swift
@objc public var maximumZSpacing: Float
-
The scene’s background color, which gets rendered behind all content.
Declaration
Swift
@objc public var backgroundColor: UIColor
-
The color of the highlight overlaid on top of a UI element when it is selected.
Declaration
Swift
@objc public var highlightColor: UIColor
-
The attributes for a header of normal importance.
Declaration
Swift
@objc public var normalHeaderAttributes: SnapshotViewConfiguration.HeaderAttributes
-
The attributes for a header of higher importance.
Declaration
Swift
@objc public var importantHeaderAttributes: SnapshotViewConfiguration.HeaderAttributes
-
The font used to render the description for a selected element.
Declaration
Swift
@objc public var descriptionFont: UIFont