-
-
Save fitomad/39dd7be4edd98a85008dee420523fdbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Query de búsqueda en Keychain | |
let query: [String: Any] = [ | |
kSecClass as String: kSecClassGenericPassword, | |
kSecAttrService as String : self.serviceName, | |
kSecAttrAccount as String: user.name, | |
kSecMatchLimit as String: kSecMatchLimitOne, | |
kSecReturnAttributes as String: true, | |
kSecReturnData as String: true | |
] | |
// Referencia donde recogemos el resultado | |
var item: CFTypeRef? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment