Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
KeychainTouchID: Using Touch ID with Keychain and LocalAuthentication
Version 3.0, 2018-06-04
Moved to Retired Documents Library.
(Full Revision History)
Xcode 8.0; iOS 10.0 SDK or later
iOS 10.0 or later
The KeychainTouchID sample shows how to store Touch ID protected items to the keychain and how to query for those items with custom message prompts. You’ll see how to use the keychain item accessibility class, which invalidates items when the passcode is removed. You’ll also find out how to use the LocalAuthentication class to invoke Touch ID verification without involving the keychain.