jjzjj

CKQuerySubscription

全部标签

ios - 为什么从 testflight 安装应用程序时 cloudkit 通知没有到达,而从 xcode 编译时它可以工作?

CloudKit通知不会到达生产环境(AppStore、TestFlight),但会在开发模式下工作(从Xcode安装)。为什么?这是我注册远程通知的方式:letcenter=UNUserNotificationCenter.current()center.delegate=selfcenter.requestAuthorization(options:[.alert,.badge,.sound]){authorised,errorinDispatchQueue.main.sync{application.registerForRemoteNotifications()}}这就是我保存