Determines how many consecutive unlock attempts (with wrong password) are allowed. If the retry limit is exceeded, the vault is automatically deleted. The default value, 0, means that an unlimited number of attempts are permitted. An exception is thrown if the vault is locked when this method is called.
Syntax
- (void)setRetryLimit:(int32_t)limit;
Parameters
limit – The number of consecutive unlock attempts (with wrong password) are allowed.
Examples
Set the Retry Limit – Sets the retry limit to 5 attempts.