FUIPrivacyNoticeSettingsTableViewController
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
open var cellProvider: ((UITableView, FUIPrivacyNoticeItem, FUIPrivacyNoticeSettingsTableViewCell?) -> UITableViewCell)?
-
Allow developers to customize the
FUIPrivacyNoticeDetailSettingViewController
if needed. Otherwise, use SDK defaultviewController
if this property is nil.Declaration
Swift
open var prepareDetailViewController: ((FUIPrivacyNoticeDetailSettingViewController) -> UIViewController)?
-
Provide data to Cells.
Declaration
Swift
open var items: [FUIPrivacyNoticeItem] { get set }
-
A
String
value that provides thetableFooterView
text.Declaration
Swift
public var footerText: String? { get set }
-
Undocumented
Declaration
Swift
open override func viewDidLoad()
-
Undocumented
Declaration
Swift
open override func viewDidLayoutSubviews()
-
Undocumented
Declaration
Swift
open override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
open override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
open override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)