@interface UMPConsentForm : NSObject
A single use consent form object.
Loads a consent form and calls completionHandler on completion. Must be called on the main queue.
Unavailable. Use +loadWithCompletionHandler: instead.
- (nullable instancetype)init;
Presents the full screen consent form over viewController. The form is dismissed and completionHandler is called after the user selects an option. UMPConsentInformation.sharedInstance.consentStatus is updated prior to completionHandler being called. completionHandler is called on the main queue.
func present(from viewController: UIViewController, completionHandler: UMPConsentFormPresentCompletionHandler? = nil)
- (void)presentFromViewController:(nonnull UIViewController *)viewController completionHandler: (nullable UMPConsentFormPresentCompletionHandler) completionHandler;