I am trying to open the user's iCloud settings through my iOS App. Currently, I have this:
@IBAction func openSettings(_ sender: AnyObject) {
guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else {
return
}
if UIApplication.shared.canOpenURL(settingsUrl) {
UIApplication.shared.openURL(settingsUrl)
}
}
However, this opens the app's. How can I open the user's iCloud settings? Thanks!