diff --git a/renderer/native/ios/renderer/component/view/HippyViewManager.mm b/renderer/native/ios/renderer/component/view/HippyViewManager.mm index f4e3fd9bc95..d8bdd20ba3f 100644 --- a/renderer/native/ios/renderer/component/view/HippyViewManager.mm +++ b/renderer/native/ios/renderer/component/view/HippyViewManager.mm @@ -206,7 +206,7 @@ - (void)measureInAppWindow:(NSNumber *)componentTag double locationY = [params[HippyYOnScreenKey] doubleValue]; UIView* hitView = [rootView hitTest:{locationX, locationY} withEvent:nil]; // TODO: not a hippp view - if (hitView != nil && [hitView respondsToSelector:@selector(hippyTag)] && hitView.hippyTag) { + if (hitView != nil && hitView.hippyTag) { [locationDict setObject:hitView.hippyTag forKey:HippyTagKey]; } callback(@[locationDict]);