skip to Main Content

Ios swift – iOS GameCenter crash in private API `GKNotificationBannerViewController::hideBannerQuickly`

I found this crash log in Firebase: Crashed: com.apple.main-thread 0 libdispatch.dylib 0x4b20 dispatch_semaphore_signal + 8 1 GameCenterUI 0x9ebd8 __56-[GKNotificationBannerViewController hideBannerQuickly:]_block_invoke_2 + 40 2 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20 3 libdispatch.dylib 0x7418 _dispatch_continuation_pop + 504 4 libdispatch.dylib 0x1aa58 _dispatch_source_invoke + 1588…

VIEW QUESTION

Xcode – How to show a specific UIViewController when GKGameCenterViewController is dismissed?

I am presenting a GKGameCenterViewController in an SKScene that inherits from the following protocol. protocol GameCenter {} extension GameCenter where Self: SKScene { func goToLeaderboard() { let vc = GKGameCenterViewController() vc.gameCenterDelegate = GameViewController() vc.viewState = .leaderboards vc.leaderboardIdentifier = "leaderboard" view?.window?.rootViewController?.present(vc,…

VIEW QUESTION
Back To Top
Search