Does Touch ID erase the device after failed tries?
Solution 1:
Quoting from About Touch ID Security, from Apple’s website:
Touch ID only allows five unsuccessful fingerprint match attempts before you must enter your passcode, and you can’t proceed until doing so.
You then get ten attempts at your passcode before the device erases, but these are counted separately from attempts to authenticate with Touch ID.
This is slightly different from the other answer:
After three attempts, the iPhone will present the passcode screen, but you can still have two more tries at authenticating with Touch ID.
After five attempts, Touch ID is disabled until you successfully enter your passcode.
Apple’s security documents don’t mention a setting to erase the device after failed Touch ID attempts, and I’m not aware of one. I don’t believe that iOS devices would erase themselves after five unsuccessful attempts, at least not with the current version of iOS.
Solution 2:
If you try and fail 3 times with Touch ID, then it asks for your passcode. The three failed Touch ID attempts do not count towards the attempts and gives you a full ten tries at the passcode.