Skip to content

PDFKit iOS xcode16.2 b2

Rolf Bjarne Kvinge edited this page Dec 2, 2024 · 2 revisions

#PDFKit.framework https://github.com/xamarin/xamarin-macios/pull/21739

diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFView.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFView.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFView.h	2024-09-29 03:23:23
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PDFKit.framework/Headers/PDFView.h	2024-10-21 19:28:56
@@ -63,9 +63,9 @@
 
 PDFKIT_CLASS_AVAILABLE(10_4, 11_0)
 @interface PDFView : PDFKitPlatformView
-#if defined(PDFKIT_PLATFORM_OSX)
+#if TARGET_OS_OSX
     < NSAnimationDelegate, NSMenuDelegate >
-#elif defined(PDFKIT_PLATFORM_IOS)
+#elif (TARGET_OS_IOS || TARGET_OS_VISION)
     < UIGestureRecognizerDelegate, UIFindInteractionDelegate >
 #endif
 {
@@ -352,7 +352,7 @@
 #if defined(PDFKIT_PLATFORM_IOS)
 
 /// If `findInteractionEnabled` is set to true, returns the receiver's built-in find interaction. Otherwise, nil.
-@property (nonatomic, readonly) UIFindInteraction *findInteraction PDFKIT_AVAILABLE(NA, 16_0);
+@property (nonatomic, readonly) UIFindInteraction *findInteraction API_AVAILABLE(ios(16.0), visionos(1.0)) API_UNAVAILABLE(watchos, tvos);
 
 /// Enables the built-in find interaction.
 @property (nonatomic, readwrite, getter=isFindInteractionEnabled) BOOL findInteractionEnabled PDFKIT_AVAILABLE(NA, 16_0);
Clone this wiki locally