I would like to check if a user has iCloud Keychain enabled on an iOS device, in order to prompt them if they haven't so they can switch it on to allow sync of data. Can anyone advise me how to achieve this programmatically?
Is there any way to read the settings?
Thanks.
On your iPhone, iPad, or iPod touch, tap Settings > [your name] > iCloud > Keychain > Advanced. On your Mac, choose Apple menu > System Preferences, then click Apple ID. Click iCloud in the sidebar, then select Keychain. If you're using macOS Mojave or earlier, click iCloud, then click Options next to Keychain.
Open the Settings app and tap your Apple ID banner at the top of the Settings menu. Tap iCloud. Scroll down the list and select Keychain.
iCloud Keychain can also keep the accounts you use in Mail, Contacts, Calendar, and Messages up to date across all of your iPhone, iPad, and iPod touch devices and Mac computers.
I asked this question to Apple Developer Technical Support and got the answer that there is no API for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With