iOS
首页
Server
Android
iOS
PC
Web
Flutter
Uniapp
交流
搜索
登录
iOS
自定义消息,点击消息跳转到我们自己项目中的页面,这个如何实现?
自定义消息,点击消息跳转到我们自己项目中的页面,这个如何实现?
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吧
返回
king
创作新主题
搜索