React Native创建原生iOS组件原理及操作: 1、native端先将UI组件封装好 2、native端创建manager类用作js通信的桥梁,在manager类中使用RN提供的宏来将native端UI组件中的属性、方法暴露给js,供js调用 3、js端导出native组件,将其处理成一个React组件供其他类使用
MarsCWD/customComponentProj
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a native UI component
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published