在堆栈导航器顶部创建新的堆栈导航器

问题描述

例如,在iOS中,我想在UINavigationController B上方显示UINavigationController A

  1. 用户点击首页中的按钮,该按钮会通过显示UINavigationController B(新堆栈)来启动流程
  2. 关闭此UINavigationController B将删除显示的堆栈,并将用户带回主页

代码看起来像这样

let navController = UINavigationController(rootViewController: destination)
source.present(navController,animated: animated,completion: completion)

source        -> UINavigationController A
navController -> UINavigationController B

如何使用React Navigation在 React Native 中实现这一目标?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)