FUIPrivacyNoticeSettingsTableViewController
@MainActor
open class FUIPrivacyNoticeSettingsTableViewController : UITableViewController
This UITableViewController is used to display a perissions screen to the application for settings. The screen mainly show the privacy authorization status of the application.
let vc = FUIPrivacyNoticeSettingsController()
vc.items = [FUIPrivacyNoticeItem]
vc.footerText = "SAP Application uses the permissions below to provide you with the best experience we catered to you"
vc.cellProvider = { tb, items, cell -> UITableViewCell in .... }
self.navigationController?.pushViewController(vc, animated: true)
Theming:
Support TableViewCell class paths:
fdlFUIPrivacyNoticeSettingsCell {}
Supported TableViewCell attributes:
tint-color (Color)
background-color (Color)
background-color-selected (Color)
Supported Text class paths:
fdlFUIPrivacyNoticeSettingsCell_title {}
fdlFUIPrivacyNoticeSettingsCell_status {}
fdlFUIPrivacyNoticeSettingsCell_statusImageView {}
fdlFUIPrivacyNoticeSettingsCell_statusLabel {}
fdlFUIPrivacyNoticeSettingsCell_detailImageView {}
-
Allow developers to customize the cell if needed. Otherwise, use SDK default cells if this property is nil.
Declaration
Swift
@MainActor open var cellProvider: ((UITableView, FUIPrivacyNoticeItem, FUIPrivacyNoticeSettingsTableViewCell?) -> UITableViewCell)? -
Allow developers to customize the
FUIPrivacyNoticeDetailSettingViewControllerif needed. Otherwise, use SDK defaultviewControllerif this property is nil.Declaration
Swift
@MainActor open var prepareDetailViewController: ((FUIPrivacyNoticeDetailSettingViewController) -> UIViewController)? -
Provide data to Cells.
Declaration
Swift
@MainActor open var items: [FUIPrivacyNoticeItem] { get set } -
A
Stringvalue that provides thetableFooterViewtext.Declaration
Swift
@MainActor public var footerText: String? { get set } -
Undocumented
Declaration
Swift
@MainActor open override func viewDidLoad() -
Undocumented
Declaration
Swift
@MainActor open override func viewDidLayoutSubviews() -
Undocumented
Declaration
Swift
@MainActor open override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int -
Undocumented
Declaration
Swift
@MainActor open override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell -
Undocumented
Declaration
Swift
@MainActor open override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)