From dbe74e9f5dbd90c23f4277c45604bccbbd17356c Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 28 Oct 2024 19:29:03 +0000 Subject: [PATCH] UIViewComponentPeer: Fix deprecation warnings for iOS 13 --- modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm index da8d94f823..0f5221c913 100644 --- a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm +++ b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm @@ -820,7 +820,7 @@ MultiTouchMapper UIViewComponentPeer::currentTouches; [self touchesEnded: touches withEvent: event]; } -- (void) onHover: (UIHoverGestureRecognizer*) gesture +- (void) onHover: (UIHoverGestureRecognizer*) gesture API_AVAILABLE (ios (13)) { if (owner != nullptr) owner->onHover (gesture);