Why Touch ID return some code that is not documented ?

I found that LAContext's method


- (void)evaluatePolicy:(LAPolicy)policy

localizedReason:(NSString *)localizedReason

reply:(void(^)(BOOL success, NSError *error))reply;


the reply block's error will return some error code that is not in documentation.

Such as -1000, Pending UI mechanism already set.


This error be fixed by relanuch the device. but what kind of informatino we can give to end user ?

What does localizedDescription of the error objet contains? Usually this is something presentable to the user. If it doesn't makes sense or isn't localized I suggest filing a bug report.


Dirk

Why Touch ID return some code that is not documented ?
 
 
Q