diff --git a/Lib/UICKeyChainStore.m b/Lib/UICKeyChainStore.m index b9dc6ac..40e6ca7 100644 --- a/Lib/UICKeyChainStore.m +++ b/Lib/UICKeyChainStore.m @@ -209,6 +209,7 @@ + (BOOL)setData:(NSData *)data forKey:(NSString *)key service:(NSString *)servic [attributes setObject:service forKey:(__bridge id)kSecAttrService]; [attributes setObject:key forKey:(__bridge id)kSecAttrGeneric]; [attributes setObject:key forKey:(__bridge id)kSecAttrAccount]; + [attributes setObject:(__bridge id)kSecAttrAccessibleAfterFirstUnlock forKey:(__bridge id)kSecAttrAccessible]; [attributes setObject:data forKey:(__bridge id)kSecValueData]; #if !TARGET_IPHONE_SIMULATOR && defined(__IPHONE_OS_VERSION_MIN_REQUIRED) if (accessGroup) {