[WebKit] Added missing properties related to UIKit (#15818)

Fixes #15526
This commit is contained in:
Israel Soto 2022-08-31 15:25:11 -05:00 коммит произвёл GitHub
Родитель 58fedd1b03
Коммит ea1573338d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 8 добавлений и 14 удалений

Просмотреть файл

@ -22,6 +22,7 @@ using UIImage = AppKit.NSImage;
using IUIContextMenuInteractionCommitAnimating = Foundation.NSObject;
using UIContextMenuConfiguration = Foundation.NSObject;
using UIEdgeInsets = AppKit.NSEdgeInsets;
using UIFindInteraction = Foundation.NSObject;
using UIViewController = AppKit.NSViewController;
#else
using UIKit;
@ -1060,13 +1061,14 @@ namespace WebKit
[Export ("setMinimumViewportInset:maximumViewportInset:")]
void SetViewportInsets (UIEdgeInsets minimumViewportInset, UIEdgeInsets maximumViewportInset);
// [iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, NoTV]
// [Export ("findInteractionEnabled")]
// bool FindInteractionEnabled { [Bind ("isFindInteractionEnabled")] get; set; }
[iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, NoTV]
[Export ("findInteractionEnabled")]
bool FindInteractionEnabled { [Bind ("isFindInteractionEnabled")] get; set; }
// [iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, NoTV]
// [Export ("findInteraction")]
// UIFindInteraction FindInteraction { get; }
[iOS (16,0), MacCatalyst (16,0), NoMac, NoWatch, NoTV]
[Export ("findInteraction")]
[NullAllowed]
UIFindInteraction FindInteraction { get; }
}
delegate void WKJavascriptEvaluationResult (NSObject result, NSError error);

Просмотреть файл

@ -1,4 +0,0 @@
## https://github.com/xamarin/xamarin-macios/issues/15526
!missing-selector! WKWebView::findInteraction not bound
!missing-selector! WKWebView::isFindInteractionEnabled not bound
!missing-selector! WKWebView::setFindInteractionEnabled: not bound

Просмотреть файл

@ -1,4 +0,0 @@
## https://github.com/xamarin/xamarin-macios/issues/15526
!missing-selector! WKWebView::findInteraction not bound
!missing-selector! WKWebView::isFindInteractionEnabled not bound
!missing-selector! WKWebView::setFindInteractionEnabled: not bound