HeaderAttributes
@objc(IAVDSnapshotViewHeaderAttributes)
public final class HeaderAttributes : NSObject
Attributes used to customize the header rendered above the UI element.
-
The background color of the header rendered above each view that has name text.
Declaration
Swift
@objc public var color: UIColor
-
The corner radius of the header background.
Declaration
Swift
@objc public var cornerRadius: CGFloat
-
The top and bottom inset between the header and the name text.
Declaration
Swift
@objc public var verticalInset: CGFloat
-
The font used to render the name text in the header.
Declaration
Swift
@objc public var font: UIFont