FUIPrivacyNoticeView
open class FUIPrivacyNoticeView: FUIDrawingView,
FUIDetailImageViewComponent,
FUITitleMultiLineComponent,
FUISubtitleMultiLineComponent,
FUIPrimaryActionComponent
View component of an FUIPrivacyNoticeController
.
Example:
let view = FUIPrivacyNoticeView()
view.delegate = self
view.title.text = "Default title"
view.subtitle.text = "Default subtitle"
view.detailImageView.image = UIImage(systemName: "")
// delegate
func privacyNoticeView(_ sender: AnyObject) { ... }
Theming
Supported style classes
fdlFUIPrivacyNoticeView {}
fdlFUIPrivacyNoticeView_imageView {}
fdlFUIPrivacyNoticeView_titleView {}
fdlFUIPrivacyNoticeView_subtitleView {}
fdlFUIPrivacyNoticeView_primaryAction {}
-
Title of the view being displayed.
Declaration
Swift
public private(set) var title: FUIMultiLineText { get }
-
Subtitle of the view being displayed.
Declaration
Swift
public private(set) var subtitle: FUIMultiLineText { get }
-
ImageView of the view
Declaration
Swift
public let detailImageView: FUIImageView
-
Button for the view.
Declaration
Swift
public let primaryAction: FUIButton
-
Declaration
Swift
open override func refreshAttributedStrings()
-
Declaration
Swift
open override func calculateLayout(_ targetSize: CGSize)
-
Declaration
Swift
open override func defaultAttributes(for property: FUIPropertyRef) -> [NSAttributedStringKey : Any]
-
Undocumented
Declaration
Swift
override open func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize