How can I go back to the built-in view controller from the react work page?
1 answer
The simplest way would be to have a property that refers to yours UIViewController
on yours AppDelegate
and has a React Native Module ( RCT_EXPORT
) method that calls dismissViewController
or presentViewController
, depending on your situation.
I would recommend reading this post discussing combining native iOS Views and React Native here: Use Existing iOS Views with React Native
0
source to share