Greetings!
In my application I request permission from the user to utilize iCloud.
func requestPermission() { CKContainer.default().requestApplicationPermission([.userDiscoverability]) { [weak self] returnedStatus, _ in DispatchQueue.main.async { if returnedStatus == .granted { self?.permissionStatus = true } } } }
How can I programatically ask for this permission again via a button? Sometimes a user may deny or disable this permission in error.
Thank you! :)