mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
iOS: WebBrowserComponent: Fix unguarded feature only available on 18.4+
This commit is contained in:
parent
8f6157142b
commit
08b82c796b
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ struct WebViewDelegateClass final : public ObjCClass<NSObject>
|
|||
});
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wundeclared-selector")
|
||||
if (@available (macOS 10.12, *))
|
||||
if (@available (macOS 10.12, ios 18.4, *))
|
||||
{
|
||||
addMethod (@selector (webView:runOpenPanelWithParameters:initiatedByFrame:completionHandler:),
|
||||
[] (id self, SEL, WKWebView*, WKOpenPanelParameters* parameters, WKFrameInfo*, void (^completionHandler)(NSArray<NSURL*>*))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue