gpt4 book ai didi

ios - 在内部,每个 react-native 的组件是否映射到每个 UIKit 的类?

转载 作者:行者123 更新时间:2023-11-28 23:30:16 24 4
gpt4 key购买 nike

我现在正在学习 react-native,有一个问题。

是否每个 react-native 的组件都在内部映射到每个 UIKit 的类?

另一方面,Flutter 在自己的 Canvas 上绘制组件,而不是使用原生 ui 组件。但我认为 react-native 使用带有 bridge 的原生 ui 组件。所有 React 组件(ViewText 等)是否映射到原生 UI 组件(UIViewUILabel 等)? )?

最佳答案

是的,你是对的,我的 friend 。

At the highest level, React Native is a way to write React apps that run as native programs. You write your app's code in JavaScript, and React Native bridges that code with native UIView elements.

您可以找到完整的文章:here

关于ios - 在内部,每个 react-native 的组件是否映射到每个 UIKit 的类?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56828738/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com