Created
March 4, 2026 12:00
-
-
Save jacobsapps/ce16f2cb8f75af66be39b4fccb2ab4df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final class FakeTwitterAppDelegate: NSObject, UIApplicationDelegate { | |
| func application( | |
| _ application: UIApplication, | |
| handleEventsForBackgroundURLSession identifier: String, | |
| completionHandler: @escaping () -> Void | |
| ) { | |
| guard identifier == BackgroundSessionCoordinator.backgroundSessionIdentifier else { | |
| completionHandler() | |
| return | |
| } | |
| BackgroundSessionCoordinator.shared.setSystemCompletionHandler(completionHandler) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment