Erase data after ten failed passcode attempts. Go to Settings > Touch ID & Passcode
(iPhone models with Touch ID) or Settings > Passcode (other models), then tap Erase Data.
After ten failed passcode attempts, all settings are reset, and all your information and media
are erased by removing the encryption key to the data.
If you forget your passcode, you must restore the iPhone software. See .
Use two-factor authentication for security
Two-factor authentication is an extra layer of security for your Apple ID designed to ensure
that all the photos, documents, and other important data you store with Apple can be
accessed only by you, and only with your devices. It’s built into iOS 9 and OS X El Capitan.
Two-factor authentication is being rolled out gradually. If your account meets all the
requirements for two-factor authentication, you are prompted to turn it on when you set up
iPhone with iOS 9. If you are signed in to iCloud, you can also turn it on by going to Settings
> iCloud. Tap your account at the top of the screen, then tap Password & Security. For
more information, see .
Once enrolled, when you enter your Apple ID and password for the first time on a new
device, you’re asked to verify your identity with a six-digit verification code. This code is
displayed automatically on your other devices or sent to a phone number you trust. Just
enter the code to sign in and access your information on your new device.
You won’t be asked for a verification code again on that device unless you sign out
completely, erase your device, or need to change your password for security reasons.
For more information on two-factor authentication, see .
Touch ID
On iPhone 5s and later, you can unlock iPhone by placing a finger on the Home button.
Touch ID also lets you:
Use your Apple ID password to make purchases in the iTunes Store, App Store, or
iBooks Store.
Authorize credit or debit card payments using Apple Pay.
Provide debit and credit card info, billing and shipping addresses, and contact info when
paying in an app that offers Apple Pay as a method of payment.