自定义消息,点击消息跳转到我们自己项目中的页面,这个如何实现?

king 4天前 43

自定义消息,点击消息跳转到我们自己项目中的页面,这个如何实现?

最新回复 (2)
  • king 4天前
    引用 2
    我在自定义消息的cell中添加了点击事件方法,执行contentArea.window.rootViewController.navigationController.pushViewController(view, animated: true) view 是UIViewController,不跳转,用contentArea.window.rootViewController.present(view, animated: true,completion: nil) 是模态弹窗悬浮式显示了我们的页面,但是我需要的是导航跳转页面,这个如何实现?
  • HeavyRain 4天前
    引用 3
    这些代码在chatuikit中,是开源的,你们来debug一下看看怎么样才能找到navigationController吧
返回