SCCameraKitAgreementsPresentationContextProvider
@protocol SCCameraKitAgreementsPresentationContextProvider <NSObject>
Describes an interface to provide presentation context for CameraKit to present agreements.
-
The view controller to present the agreements view controller from.
Declaration
Objective-C
@property (readonly, nonatomic, strong) UIViewController *viewControllerForPresentingAgreements
-
Requests that the view controller passed be dismissed, with acceptance status.
Warning
the implementer of this protocol is responsible for dismissing the view controller.Declaration
Objective-C
- (void)dismissAgreementsViewController:(id)agreementsViewController accepted:(BOOL)accepted;
Parameters
agreementsViewController
the view controller to dismiss.
accepted
whether or not the user accepted all the agreements presented.