Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

知乎评论这个效果里,如果点击用户头像,可以像知乎那样直接push到用户个人信息页吗? #30

Closed
zhangEnBin1010 opened this issue Oct 15, 2019 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@zhangEnBin1010
Copy link

知乎评论这个效果里,如果点击用户头像,可以像知乎那样直接push到用户个人信息页吗?

@HeathWang
Copy link
Owner

目前可以做到在同一个navigation栈里push,至于你要做的一模一样,可以要花时间调整UI。

@zhangEnBin1010
Copy link
Author

好的 我又重新自定义个导航栏和自定义转场动画解决了

@zhangEnBin1010
Copy link
Author

我在第一个vc push到下个vc 两个VC都有tableview,第二个vc也遵循了- (nullable UIScrollView *)panScrollable;协议 但是下拉的时候 第二个vc的tableview也跟着滚动,可以帮我看下什么问题吗

@HeathWang
Copy link
Owner

HeathWang commented Oct 21, 2019

你push到第二个,第二个vc的tableView跟着滚动不是正确的逻辑吗?
没明白你要怎么做

edited:
我懂了,你的意思是下拉dismiss时,第二个vc tableview不应该跟着滑动

@HeathWang
Copy link
Owner

@zhangEnBin1010 我测试了一下,push到一个有scrollable的VC,是可以正常滑动dismiss的
可以提供一个简单的demo发我邮箱,我看看具体问题,谢谢。

@zhangEnBin1010
Copy link
Author

@HeathWang 已发送到邮箱 帮忙看下 谢谢

@HeathWang
Copy link
Owner

重要

如果present一个navigationVC,并且每个子vc都有scrollView视图,该scrollView必须使用懒加载或者在- (void)viewDidLoad; or - (void)viewDidAppear:(BOOL)animated;方法中调用[self.navigationController hw_panModalSetNeedsLayoutUpdate];以确保交互正常。

@HeathWang HeathWang pinned this issue Oct 22, 2019
@HeathWang HeathWang added the help wanted Extra attention is needed label Oct 22, 2019
@ddongdong521
Copy link

好的 我又重新自定义个导航栏和自定义转场动画解决了

好的 我又重新自定义个导航栏和自定义转场动画解决了

您好,请问这里是怎么做的 可以给我一份demo吗 谢谢啦 我邮箱595888098@qq.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants