From cbb1b861ec8ed61bf71b93311a5c364bbfcf2591 Mon Sep 17 00:00:00 2001 From: Israel Soto Date: Mon, 8 Aug 2022 09:33:04 -0500 Subject: [PATCH] [MessageUI] Added support for Xcode 14 beta 1 & 2 (#15652) --- src/messageui.cs | 4 ++++ tests/xtro-sharpie/api-annotations-dotnet/iOS-MessageUI.todo | 1 - tests/xtro-sharpie/iOS-MessageUI.todo | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-MessageUI.todo delete mode 100644 tests/xtro-sharpie/iOS-MessageUI.todo diff --git a/src/messageui.cs b/src/messageui.cs index ed9a0c3412e6..d9fb51a50a47 100644 --- a/src/messageui.cs +++ b/src/messageui.cs @@ -124,6 +124,10 @@ interface MFMessageComposeViewController : UIAppearance { [Export ("addAttachmentData:typeIdentifier:filename:")] bool AddAttachment (NSData attachmentData, string uti, string filename); + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("insertCollaborationItemProvider:")] + bool InsertCollaboration (NSItemProvider itemProvider); + [iOS (7,0)] [Export ("disableUserAttachments")] void DisableUserAttachments (); diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MessageUI.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-MessageUI.todo deleted file mode 100644 index 62321ccc04d9..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MessageUI.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MFMessageComposeViewController::insertCollaborationItemProvider: not bound diff --git a/tests/xtro-sharpie/iOS-MessageUI.todo b/tests/xtro-sharpie/iOS-MessageUI.todo deleted file mode 100644 index 62321ccc04d9..000000000000 --- a/tests/xtro-sharpie/iOS-MessageUI.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MFMessageComposeViewController::insertCollaborationItemProvider: not bound