4 Replies
      Latest reply on Oct 31, 2019 6:14 AM by dutton
      marcosatanaka Level 1 Level 1 (0 points)

        After updating to iOS 13, the following code doesn't work anymore. The completion handler doesn't get called:

         

        func requestAccess() {
            SKCloudServiceController.requestAuthorization { status in
                switch status {
                case .authorized:
                    self.doAfterAuthorized()
                case .denied, .restricted:
                    self.completion?([])
                case .notDetermined:
                    self.completion?([])
                @unknown default:
                    fatalError()
                }
            }
        }

         

        I'm on iOS 13 beta 4. I don't know if this is something exclusive to beta 4 or if already happened to older betas.

         

        This issue may be related to https://forums.developer.apple.com/thread/119399