diff --git a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm index da8d94f8230b..0f5221c91300 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 @@ - (void) touchesCancelled: (NSSet*) touches withEvent: (UIEvent*) event [self touchesEnded: touches withEvent: event]; } -- (void) onHover: (UIHoverGestureRecognizer*) gesture +- (void) onHover: (UIHoverGestureRecognizer*) gesture API_AVAILABLE (ios (13)) { if (owner != nullptr) owner->onHover (gesture);