xamarin-macios
xamarin-macios copied to clipboard
[PdfKit] Add missing selectors for Xcode 14 beta 4
Once UIKit for Xcode 14 (UIFindInteraction and UIFindInteractionDelegate specifically) is finished, comment out the following lines of code:
interface PdfView :
#if IOS
// Uncomment this changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
UIGestureRecognizerDelegate//, UIFindInteractionDelegate
#else
NSMenuDelegate, NSAnimationDelegate
#endif
*inside interface PdfView
// Uncomment this changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
// [iOS (16,0), NoMac, MacCatalyst (16,0)]
// [Export ("findInteraction")]
// UIFindInteraction FindInteraction { get; }
Also remove these lines from common-PDFKit.ignore
and api-annotations-dotnet/common-PDFKit.ignore
# Uncomment these changes after Xcode 14 UIKit is bound - https://github.com/xamarin/xamarin-macios/issues/15623
!missing-protocol-conformance! PDFView should conform to UIFindInteractionDelegate
!missing-selector! PDFView::findInteraction not bound
As mentioned here, this issue is now fixed https://github.com/xamarin/xamarin-macios/pull/15628#issuecomment-1230750001