diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h index 575b978ab2..ba7c4689be 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h @@ -14,6 +14,7 @@ constexpr int32_t kRootNodeId = 0; +@class FlutterCustomAccessibilityAction; @class FlutterPlatformViewSemanticsContainer; /** @@ -92,6 +93,7 @@ constexpr int32_t kRootNodeId = 0; - (BOOL)nodeWillCauseScroll:(const flutter::SemanticsNode*)node; - (void)collectRoutes:(NSMutableArray*)edges; - (NSString*)routeName; +- (BOOL)onCustomAccessibilityAction:(FlutterCustomAccessibilityAction*)action; @end diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm index 2957489fb4..c9c147bdac 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm @@ -7,6 +7,8 @@ #include "flutter/shell/platform/darwin/ios/platform_view_ios.h" +#pragma GCC diagnostic error "-Wundeclared-selector" + FLUTTER_ASSERT_NOT_ARC namespace flutter {