From 56983e94495794bb737b90e81b2be8d2cbe48226 Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Wed, 6 Dec 2023 15:16:18 +0100 Subject: [PATCH] Use `reactSubviews` instead of `subviews` --- ios/MarkdownTextInputViewManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/MarkdownTextInputViewManager.mm b/ios/MarkdownTextInputViewManager.mm index ad4a2829..1f9f911f 100644 --- a/ios/MarkdownTextInputViewManager.mm +++ b/ios/MarkdownTextInputViewManager.mm @@ -17,7 +17,7 @@ @interface MarkdownTextInputView : UIView @implementation MarkdownTextInputView - (void)didMoveToWindow { - NSArray *viewsArray = self.superview.subviews; + NSArray *viewsArray = self.reactSuperview.reactSubviews; NSUInteger currentIndex = [viewsArray indexOfObject:self]; if (currentIndex == 0 || currentIndex == NSNotFound) { return;