From d084dd3802fca79585e977eb191ee4e4656f9475 Mon Sep 17 00:00:00 2001 From: wwwcg Date: Wed, 20 Mar 2024 20:06:05 +0800 Subject: [PATCH] fix(ios): ensure insertHippySubview is called sequentially Some businesses depend on the invocation order of the insertHippySubview method, so we use std::map instead to ensure that the view created first calls that method first --- renderer/native/ios/renderer/HippyUIManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/native/ios/renderer/HippyUIManager.mm b/renderer/native/ios/renderer/HippyUIManager.mm index 1317b55eab4..2e3a72ff56a 100644 --- a/renderer/native/ios/renderer/HippyUIManager.mm +++ b/renderer/native/ios/renderer/HippyUIManager.mm @@ -86,7 +86,7 @@ return viewName; } -using HPViewBinding = std::unordered_map, std::vector>>; +using HPViewBinding = std::map, std::vector>>; constexpr char kVSyncKey[] = "frameupdate";