by watson · 10y ago · 0 comments
Keychain and NSFileManager have possible modes of "kSecAttrAccessibleAfterFirstUnlock" [0] and "NSFileProtectionCompleteUntilFirstUserAuthentication" [1] respectively that are (fittingly) in an open state within your app after you've unlocked the device.
[0]: https://developer.apple.com/reference/security/ksecattracces...
[1]: https://developer.apple.com/reference/foundation/nsfilemanag...
As an aside, I've found that, at least with my iPhone 5S, if my finger is wet (e.g. if I've licked it), it also is rejected.