有没有办法以编程方式打开 Apple Reminders 应用程序?
最佳答案
我已经在 Swift 5+ 和 iOS 13 上试过了,你需要使用下面的 url scheme。(之前 x-apple-reminder://
可以,但现在不行了)
x-apple-reminderkit://
if let url = URL(string: "x-apple-reminderkit://"), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:]) { (isDone) in
}
}
它将从您的应用程序中打开 iOS 提醒应用程序。
希望对其他人有帮助。
关于ios - 如何以编程方式打开 Apple Reminders 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53550596/