Does continuous retries for LAContext violates any HIG?

97 Views Asked by At
  1. On getting LAError.systemCancel should we call evaluatePolicy again to try max attempts ?
  2. On localizedFallbackTitle should we keep it as "Try again" or "Retry" to actually call evaluatePolicy until it reaches max attempts ?
 if error._code == LAError.biometryLockout.rawValue {
                   // show passcode fallback 
                    return
                } else if laContext.localizedFallbackTitle == "Scan again/ Try again/ Retry" &&
                            (error._code == LAError.userFallback.rawValue ||
                                error._code == LAError.systemCancel.rawValue) {
                     // Try again until max attempts
                    return
                }
0

There are 0 best solutions below