diff --git a/renderer/native/ios/renderer/component/text/NativeRenderObjectText.mm b/renderer/native/ios/renderer/component/text/NativeRenderObjectText.mm index ea867657f15..04c683e748b 100644 --- a/renderer/native/ios/renderer/component/text/NativeRenderObjectText.mm +++ b/renderer/native/ios/renderer/component/text/NativeRenderObjectText.mm @@ -986,7 +986,9 @@ - (void)didUpdateNativeRenderSubviews { if (domManager) { int32_t componentTag = [self.componentTag intValue]; auto node = domManager->GetNode(self.rootNode, componentTag); - node->GetLayoutNode()->MarkDirty(); + if (node) { + node->GetLayoutNode()->MarkDirty(); + } } }