I am new to react native. I am adding react native in my existing iOS app which is partially in Objective C and Swift. I have added Native Module support, bridging in existing app. I don't know how to open a existing ViewController
in swift from React Native Page.
I have gone through below link: How to go to specific native view controller from react-native code?
But don't know how to present or instantiate ViewController
using RCT_EXPORT_METHOD
, RCT_EXPORT_MODULE
. Like in Android using @ReactMethod
I can easily start new Activity from react native button click. Please help me with how can I open ViewController
from react native page.