Contents

URLCredential.Persistence

Constants that specify how long the credential will be kept.

Declaration

enum Persistence

Overview

In iOS, credentials are stored in the app’s keychain, and can be accessed only by that app (and other apps in the same keychain access group, where applicable).

In macOS, credentials are stored in the user’s keychain. The credential’s initial access control list (ACL) allows access only by that app. However, other apps can see that a password exists for a given host, port, and realm combination, and can request that the user grant permission to use that credential.

Topics

Persistence strategies

Initializers

See Also

Creating a credential