-
Notifications
You must be signed in to change notification settings - Fork 558
LinkPresentation tvOS xcode26.4 b2
Rolf Bjarne Kvinge edited this page Feb 27, 2026
·
1 revision
#LinkPresentation.framework
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPError.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPError.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPError.h 2025-11-09 04:59:22
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPError.h 2026-02-14 07:17:44
@@ -6,7 +6,7 @@
#import <LinkPresentation/LPFoundation.h>
/// The domain for Link Presentation errors.
-LP_EXTERN NSErrorDomain const LPErrorDomain API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0));
+LP_EXTERN NSErrorDomain const LPErrorDomain API_AVAILABLE(macos(10.15), ios(13.0), visionos(1.0), tvos(13.0), watchos(9.0));
typedef NS_ERROR_ENUM(LPErrorDomain, LPErrorCode) {
/// An unknown error.
@@ -22,5 +22,5 @@
LPErrorMetadataFetchTimedOut,
/// An error indicating that the metadata fetch was not allowed due to system policies.
- LPErrorMetadataFetchNotAllowed API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0))
-} API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0));
+ LPErrorMetadataFetchNotAllowed API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0), tvos(17.0), watchos(10.0))
+} API_AVAILABLE(macos(10.15), ios(13.0), visionos(1.0), tvos(13.0), watchos(9.0));
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h 2025-11-09 07:35:59
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h 2026-02-15 23:23:00
@@ -56,7 +56,7 @@
/// If you already have an ``LPLinkMetadata`` object for a URL, pass it to the
/// share sheet to present the preview instantly, without fetching data over the
/// network. In your implementation of
-/// <doc://com.apple.documentation/documentation/uikit/uiactivityitemsource/3144571-activityviewcontrollerlinkmetada>,
+/// <doc://com.apple.documentation/documentation/UIKit/UIActivityItemSource/activityViewControllerLinkMetadata(_:)>,
/// return the metadata object.
///
/// ```swift
@@ -69,7 +69,7 @@
/// If the user chooses to share to Messages, the same metadata passes directly
/// through, providing a smooth and seamless experience with no unnecessary
/// loading.
-LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), visionos(1.0), tvos(13.0), watchos(9.0))
@interface LPLinkMetadata : NSObject <NSCopying, NSSecureCoding>
/// The original URL of the metadata request.
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkView.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkView.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkView.h 2025-11-09 04:59:21
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkView.h 2026-02-14 07:17:44
@@ -15,7 +15,7 @@
@class LPLinkMetadata;
-LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), visionos(1.0), tvos(13.0)) API_UNAVAILABLE(watchos)
#if TARGET_OS_IPHONE
/// A rich visual representation of a link.
///
@@ -39,7 +39,7 @@
/// ```
///
/// ``LPLinkView`` has an intrinsic size, but it also responds to
-/// <doc://com.apple.documentation/documentation/uikit/uiview/1622630-sizetofit>
+/// <doc://com.apple.documentation/documentation/UIKit/UIView/sizeToFit()>
/// to present a layout at any size.
@interface LPLinkView : UIView
#else
@@ -65,7 +65,7 @@
/// ```
///
/// ``LPLinkView`` has an intrinsic size, but it also responds to
-/// <doc://com.apple.documentation/documentation/uikit/uiview/1622630-sizetofit>
+/// <doc://com.apple.documentation/documentation/UIKit/UIView/sizeToFit()>
/// to present a layout at any size.
@interface LPLinkView : NSView
#endif
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h 2025-11-09 06:33:02
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h 2026-02-15 19:32:16
@@ -16,7 +16,7 @@
/// ``LPLinkMetadata`` instance are optional.
///
/// - Note: To enable macOS clients to fetch metadata for remote URLs, add the
-/// <doc://com.apple.documentation/documentation/bundleresources/entitlements/com_apple_security_network_client>
+/// <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.security.network.client>
/// entitlement.
///
/// ## Fetch link metadata from a URL
@@ -48,7 +48,7 @@
///
/// For more information about handling errors, see
/// ``LinkPresentation/LPError``.
-LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), watchos(9.0), tvos(18.0))
+LP_EXTERN API_AVAILABLE(macos(10.15), ios(13.0), visionos(1.0), watchos(9.0), tvos(18.0))
@interface LPMetadataProvider : NSObject
/// Fetches metadata for the given URL.
@@ -93,7 +93,7 @@
/// > ```
/// >
/// > For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/swift/calling-objective-c-apis-asynchronously>.
-- (void)startFetchingMetadataForRequest:(NSURLRequest *)request completionHandler:(void(^)(LPLinkMetadata *_Nullable metadata, NSError *_Nullable error))completionHandler API_AVAILABLE(macos(12.0), ios(15.0));
+- (void)startFetchingMetadataForRequest:(NSURLRequest *)request completionHandler:(void(^)(LPLinkMetadata *_Nullable metadata, NSError *_Nullable error))completionHandler API_AVAILABLE(macos(12.0), ios(15.0), visionos(1.0), tvos(18.0), watchos(9.0));
/// Cancels a metadata request.
///