FUIUserConsentViewControllerDelegate
public protocol FUIUserConsentViewControllerDelegate : AnyObject
This protocol defines a set of methods invoked based on user response to the consent forms.
-
Invoked when the user completes the response to all of the user consent forms. The details of whether the user accepted or rejected each form can be found by examining the
isUserAccepted
property of each form.Declaration
Swift
func userConsentViewController(viewController: FUIUserConsentViewController, didReceiveResponseToConsentForms forms: [FUIUserConsentForm])
-
Invoked when the user cancels a form by clicking on the
Cancel
button in the navigation bar. The exact user response to each of the forms can be found by examining theisUserAccepted
property of each form.Declaration
Swift
func userConsentViewController(viewController: FUIUserConsentViewController, didCancelConsentForms forms: [FUIUserConsentForm])