Is there any native (swift) api which has similar function to isUserVerifyingPlatformAuthenticatorAvailable() in WebAuthn JS Api?

Before promoting passkey registration, I would like to check whether the user device has platform authenticator (or passkey platform authenticator). While trying to search such feature in the docs, I cannot find it anywhere.

Is this intended?

If there is no such api, how can we know whether the user can register passkey?

Answered by Systems Engineer in 734606022

All users running iOS 16 or macOS Ventura can register passkeys. If they don't have iCloud Keychain set up at the time, the registration sheet will let them know they need that and provide a link to go turn it on.

Accepted Answer

All users running iOS 16 or macOS Ventura can register passkeys. If they don't have iCloud Keychain set up at the time, the registration sheet will let them know they need that and provide a link to go turn it on.

Thanks for the information.

Is there any native (swift) api which has similar function to isUserVerifyingPlatformAuthenticatorAvailable() in WebAuthn JS Api?
 
 
Q