Giter Site home page Giter Site logo

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

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

from hwpanmodal.

Comments (8)

HeathWang avatar HeathWang commented on May 15, 2024

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

from hwpanmodal.

zhangEnBin1010 avatar zhangEnBin1010 commented on May 15, 2024

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

from hwpanmodal.

zhangEnBin1010 avatar zhangEnBin1010 commented on May 15, 2024

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

from hwpanmodal.

HeathWang avatar HeathWang commented on May 15, 2024

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

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

from hwpanmodal.

HeathWang avatar HeathWang commented on May 15, 2024

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

from hwpanmodal.

zhangEnBin1010 avatar zhangEnBin1010 commented on May 15, 2024

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

from hwpanmodal.

HeathWang avatar HeathWang commented on May 15, 2024

重要

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

from hwpanmodal.

ddongdong521 avatar ddongdong521 commented on May 15, 2024

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

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

您好,请问这里是怎么做的 可以给我一份demo吗 谢谢啦 我邮箱[email protected]

from hwpanmodal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.