Skip to content

BackgroundTasks tvOS xcode26.4 b2

Rolf Bjarne Kvinge edited this page Feb 27, 2026 · 1 revision

#BackgroundTasks.framework

diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h	2025-11-09 04:59:56
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h	2026-02-16 06:23:43
@@ -90,7 +90,7 @@
 /// - Important: Register each task identifier only once. The system kills the app on the second registration of the same task identifier.
 - (BOOL)registerForTaskWithIdentifier:(NSString *)identifier
                            usingQueue:(nullable dispatch_queue_t)queue
-                        launchHandler:(void (^)(__kindof BGTask *task))launchHandler NS_EXTENSION_UNAVAILABLE("Only the host application may register launch handlers");
+                        launchHandler:(void (^)(__kindof BGTask *task))launchHandler;
 
 /// Submit a previously registered background task for execution.
 ///

Clone this wiki locally