diff --git a/src/UIKit/UIEnums.cs b/src/UIKit/UIEnums.cs index 1d98f61689c9..2267f8c047fa 100644 --- a/src/UIKit/UIEnums.cs +++ b/src/UIKit/UIEnums.cs @@ -2146,6 +2146,10 @@ public enum UIPressType : long { [NoiOS] [NoMacCatalyst] PageDown = 31, + [TV (18, 1), NoiOS, NoMacCatalyst] + TVRemoteOneTwoThree = 32, + [TV (18, 1), NoiOS, NoMacCatalyst] + TVRemoteFourColors = 33, } [NoWatch] @@ -2833,7 +2837,9 @@ public enum UIMenuIdentifier { [TV (17, 0), iOS (17, 0), MacCatalyst (17, 0)] [Field ("UIMenuAutoFill")] AutoFill, - + [TV (18, 1), iOS (18, 1), MacCatalyst (18, 1)] + [Field ("UIMenuOpen")] + Open, } [iOS (13, 0), TV (13, 0), Watch (6, 0)] diff --git a/src/uikit.cs b/src/uikit.cs index f1d33b25bb51..48cd1b007f3b 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -31001,4 +31001,27 @@ interface NSUIViewToolbarItem { UIView UIView { get; [Bind ("setUIView:")] set; } } + [NoMac, NoWatch, NoTV, iOS (18, 1), MacCatalyst (18, 1)] + delegate IUITextInput UITextInputReturnHandler (); + + [NoMac, NoWatch, NoTV, iOS (18, 1), MacCatalyst (18, 1)] + [Category] + [BaseType (typeof (NSObject))] + interface NSObject_UIAccessibilityTextOperations { + + [return: NullAllowed] + [Export ("accessibilityTextInputResponder")] + IUITextInput GetAccessibilityTextInputResponder (); + + [Export ("setAccessibilityTextInputResponder:")] + void SetAccessibilityTextInputResponder ([NullAllowed] IUITextInput textInput); + + [return: NullAllowed] + [Export ("accessibilityTextInputResponderBlock")] + UITextInputReturnHandler GetAccessibilityTextInputResponderHandler (); + + [Export ("setAccessibilityTextInputResponderBlock:")] + void SetAccessibilityTextInputResponderHandler ([NullAllowed] UITextInputReturnHandler handler); + } + } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index a4f7925d00af..93636f340d6a 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -20330,6 +20330,7 @@ F:UIKit.UIMenuIdentifier.Lookup F:UIKit.UIMenuIdentifier.MinimizeAndZoom F:UIKit.UIMenuIdentifier.NewScene F:UIKit.UIMenuIdentifier.None +F:UIKit.UIMenuIdentifier.Open F:UIKit.UIMenuIdentifier.OpenRecent F:UIKit.UIMenuIdentifier.Preferences F:UIKit.UIMenuIdentifier.Print @@ -20481,6 +20482,8 @@ F:UIKit.UIPressType.PageUp F:UIKit.UIPressType.PlayPause F:UIKit.UIPressType.RightArrow F:UIKit.UIPressType.Select +F:UIKit.UIPressType.TVRemoteFourColors +F:UIKit.UIPressType.TVRemoteOneTwoThree F:UIKit.UIPressType.UpArrow F:UIKit.UIPreviewActionStyle.Default F:UIKit.UIPreviewActionStyle.Destructive @@ -49344,6 +49347,10 @@ M:UIKit.NSObject_UIAccessibilityTextNavigation.SetAccessibilityNextTextNavigatio M:UIKit.NSObject_UIAccessibilityTextNavigation.SetAccessibilityNextTextNavigationElementBlock(Foundation.NSObject,UIKit.AXObjectReturnBlock) M:UIKit.NSObject_UIAccessibilityTextNavigation.SetAccessibilityPreviousTextNavigationElement(Foundation.NSObject,Foundation.NSObject) M:UIKit.NSObject_UIAccessibilityTextNavigation.SetAccessibilityPreviousTextNavigationElementBlock(Foundation.NSObject,UIKit.AXObjectReturnBlock) +M:UIKit.NSObject_UIAccessibilityTextOperations.GetAccessibilityTextInputResponder(Foundation.NSObject) +M:UIKit.NSObject_UIAccessibilityTextOperations.GetAccessibilityTextInputResponderHandler(Foundation.NSObject) +M:UIKit.NSObject_UIAccessibilityTextOperations.SetAccessibilityTextInputResponder(Foundation.NSObject,UIKit.IUITextInput) +M:UIKit.NSObject_UIAccessibilityTextOperations.SetAccessibilityTextInputResponderHandler(Foundation.NSObject,UIKit.UITextInputReturnHandler) M:UIKit.NSParagraphStyle.Copy(Foundation.NSZone) M:UIKit.NSParagraphStyle.EncodeTo(Foundation.NSCoder) M:UIKit.NSParagraphStyle.MutableCopy(Foundation.NSZone) @@ -86291,6 +86298,7 @@ T:UIKit.NSMutableAttributedStringKitAdditions T:UIKit.NSObject_UIAccessibilityCustomRotor T:UIKit.NSObject_UIAccessibilityHitTest T:UIKit.NSObject_UIAccessibilityTextNavigation +T:UIKit.NSObject_UIAccessibilityTextOperations T:UIKit.NSPreviewInteractionPreviewUpdateEventArgs T:UIKit.NSRectAlignment T:UIKit.NSStringDrawing @@ -86767,6 +86775,7 @@ T:UIKit.UITextFormattingViewControllerTextList T:UIKit.UITextGranularity T:UIKit.UITextInlinePredictionType T:UIKit.UITextInputDelegate +T:UIKit.UITextInputReturnHandler T:UIKit.UITextInputTokenizer T:UIKit.UITextInteractionDelegate T:UIKit.UITextInteractionMode diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo deleted file mode 100644 index 59b0d796c122..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UIKit.todo +++ /dev/null @@ -1,7 +0,0 @@ -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteFourColors = 33 not bound -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteOneTwoThree = 32 not bound -!missing-field! UIMenuOpen not bound -!missing-selector! NSObject::accessibilityTextInputResponder not bound -!missing-selector! NSObject::accessibilityTextInputResponderBlock not bound -!missing-selector! NSObject::setAccessibilityTextInputResponder: not bound -!missing-selector! NSObject::setAccessibilityTextInputResponderBlock: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo deleted file mode 100644 index 59b0d796c122..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-UIKit.todo +++ /dev/null @@ -1,7 +0,0 @@ -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteFourColors = 33 not bound -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteOneTwoThree = 32 not bound -!missing-field! UIMenuOpen not bound -!missing-selector! NSObject::accessibilityTextInputResponder not bound -!missing-selector! NSObject::accessibilityTextInputResponderBlock not bound -!missing-selector! NSObject::setAccessibilityTextInputResponder: not bound -!missing-selector! NSObject::setAccessibilityTextInputResponderBlock: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo deleted file mode 100644 index acc0c342e623..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-UIKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteFourColors = 33 not bound -!missing-enum-value! UIPressType native value UIPressTypeTVRemoteOneTwoThree = 32 not bound -!missing-field! UIMenuOpen not bound