Skip to content

DeviceDiscoveryUI tvOS xcode26.0 b1

Alex Soto edited this page Jun 9, 2025 · 1 revision

#DeviceDiscoveryUI.framework

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h	2025-04-19 04:30:51
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h	2025-05-25 02:22:47
@@ -15,7 +15,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-DeviceDiscoveryUI_EXTERN API_AVAILABLE(tvos(16.0)) API_UNAVAILABLE(macos, ios, watchos)
+DeviceDiscoveryUI_EXTERN API_AVAILABLE(tvos(16.0), ios(26.0)) API_UNAVAILABLE(macos, watchos)
 @interface DDDevicePickerViewController: UIViewController
 
 + (instancetype)new NS_UNAVAILABLE;
@@ -23,6 +23,7 @@
 - (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;
 - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
 
+#if TARGET_OS_TV
 #ifndef __swift__
 + (BOOL)isSupportedForBrowseDescriptor:(nw_browse_descriptor_t)browseDescriptor
                             parameters:(nullable nw_parameters_t)parameters;
@@ -31,6 +32,7 @@
                                        parameters:(nullable nw_parameters_t)parameters NS_DESIGNATED_INITIALIZER;
 
 - (void)setDevicePickerCompletionHandler:(void(^)(nw_endpoint_t _Nullable endpoint, nw_error_t _Nullable error))devicePickerCompletionHandler;
+#endif
 #endif
 
 @end
Clone this wiki locally