PrivacyKitStyle
public protocol PrivacyKitStyle
The PrivacyKitStyle protocol can be used to implement a custom style struct
for use with PrivacyKit. Once implemented your custom style can be used
in PrivacyKit with the setStyle(_ style: PrivacyKitStyle)
method.
-
The background color for the default Privacy Notice View Controllers
Declaration
Swift
var backgroundColor: UIColor { get }
-
The background color for the default Privacy Notice View Controllers
Declaration
Swift
var textColor: UIColor { get }
-
The highlight color used to highlight the agree button when the User tries to click past the Privacy Notice View Controller
Declaration
Swift
var buttonHighlightColor: UIColor { get }
-
The background color for the default Privacy Notice View Controllers
Declaration
Swift
var errorColor: UIColor { get }
-
A corner radius to apply to the privacy notice background view.
Declaration
Swift
var backgroundCornerRadius: CGFloat { get }
-
The primary font for the privacy notice message.
Declaration
Swift
var paragraphFont: UIFont { get }
-
The highlighted font for the Privacy Policy and Terms of Service links in the privacy notice message.
Declaration
Swift
var highlightFont: UIFont { get }
-
paragraphAttrText
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var paragraphAttrText: [NSAttributedString.Key : Any] { get }
-
highlightsAttrText
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var highlightsAttrText: [NSAttributedString.Key : Any] { get }