Documentation Archive Developer
Search

LocalAuthentication Changes for Objective-C

LocalAuthentication

LAContext.h

Declaration
From
- (BOOL)canEvaluatePolicy:(LAPolicy)policy error:(NSError **)error
To
- (BOOL)canEvaluatePolicy:(LAPolicy)policy error:(NSError * _Nullable * _Nullable)error

Declaration
From
- (void)evaluatePolicy:(LAPolicy)policy localizedReason:(NSString *)localizedReason reply:(void (^)(BOOL success, NSError *error))reply
To
- (void)evaluatePolicy:(LAPolicy)policy localizedReason:(NSString * _Nonnull)localizedReason reply:(void (^ _Nonnull)(BOOL success, NSError * _Nullable error))reply

Declaration
From
@property(nonatomic, copy) NSString *localizedFallbackTitle
To
@property(nonatomic, copy, nullable) NSString *localizedFallbackTitle

LAError.h

LAPublicDefines.h