简体   繁体   中英

Bridging React Native and Swift Classes with Objective C

I am bridging React native and Swift Modules. I have completely done that. I am trying to add my existing IOS project and wanted to add in React Native.

For instance, When i create a new project for ReactNative. My Current Project become

ReactNative/ios

Now Is there any way to export the IOS project directly in the folder and make a reference to call from React Native ?

You can bridge native with react native. you can either import modules from either side or create buttons and shift your control to each side. - You can create a button in RN and call Native module or complete project. please have look at this link

https://facebook.github.io/react-native/docs/communication-ios.html

Hope this helps. I will be most probably developing a project which allows you to bridge 2 apps by one button with complete documentation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM