From b19a78b27247f5f0761c35b5b3e8a41876eabb05 Mon Sep 17 00:00:00 2001 From: lpw <pengwei.li@gamehollywood.com> Date: Tue, 20 Apr 2021 17:18:32 +0800 Subject: [PATCH] no message --- frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h index fbed266..77fdf38 100644 --- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h +++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -369,7 +369,20 @@ optionIndex:(NSUInteger)recoveryOptionIndex delegate:(nullable id)delegate didRecoverSelector:(SEL)didRecoverSelector - contextInfo:(nullable void *)contextInfo; + contextInfo:(nullable void *)contextInfo +DEPRECATED_MSG_ATTRIBUTE("Delegate/selector -based error recovery will be removed in the next major version release."); + +/** + attempt the recovery + @param error the error + @param recoveryOptionIndex the selected option index + @param completionHandler the handler called upon completion of error recovery + + Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and call the completion handler. The option index is an index into the error's array of localized recovery options. The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise. + */ +- (void)attemptRecoveryFromError:(NSError *)error + optionIndex:(NSUInteger)recoveryOptionIndex + completionHandler:(void (^)(BOOL didRecover))completionHandler; @end NS_ASSUME_NONNULL_END -- Gitblit v1.8.0