In iOS terms, I want to present UINavigationController B
on top of UINavigationController A
, for instance
- User click a button from Home which starts a flow by presenting
UINavigationController B
(a new stack) - Dismissing this
UINavigationController B
will remove the presented stack and brings the user back to Home
and the code looks something like this
let navController = UINavigationController(rootViewController: destination)source.present(navController, animated: animated, completion: completion)source -> UINavigationController AnavController -> UINavigationController B
How do I achieve this in React Native using React Navigation?