Giter Site home page Giter Site logo

Comments (10)

panghaijiao avatar panghaijiao commented on May 27, 2024

这个headerView不是会自动缩回来嘛,你可以试试开启HJTabViewControllerPlugin_BottomInset插件

from hjtabviewcontroller.

Fgoson avatar Fgoson commented on May 27, 2024

这个headerView不是会自动缩回来嘛,你可以试试开启HJTabViewControllerPlugin_BottomInset插件

好像看见你说不建议开启HJTabViewControllerPlugin_BottomInset插件

from hjtabviewcontroller.

panghaijiao avatar panghaijiao commented on May 27, 2024

因为正常情况下,当contentSize不足时,headerView会自动缩回来,可能有些产品交互不想缩回来,开发同学自己不想写代码可以直接开启HJTabViewControllerPlugin_BottomInset,但是越简单,可定制就越差,最好的方式就是,开发同学根据自己的产品定向优化,比如当contentSize不足时,开发同学可以在底部补一个tablefooterView

from hjtabviewcontroller.

Fgoson avatar Fgoson commented on May 27, 2024

因为正常情况下,当contentSize不足时,headerView会自动缩回来,可能有些产品交互不想缩回来,开发同学自己不想写代码可以直接开启HJTabViewControllerPlugin_BottomInset,但是越简单,可定制就越差,最好的方式就是,开发同学根据自己的产品定向优化,比如当contentSize不足时,开发同学可以在底部补一个tablefooterView

试了开启HJTabViewControllerPlugin_BottomInset是会自动缩回去,但是contentSize不足时,手动向上划动到顶部去了。。。

from hjtabviewcontroller.

panghaijiao avatar panghaijiao commented on May 27, 2024

不开启 HJTabViewControllerPlugin_BottomInset 会自动缩回去,开启了不会自动缩回去,对了,contentSize不足时可以找到子VC的tabContentScrollView吗

from hjtabviewcontroller.

Fgoson avatar Fgoson commented on May 27, 2024

不开启 HJTabViewControllerPlugin_BottomInset 会自动缩回去,开启了不会自动缩回去,对了,contentSize不足时可以找到子VC的tabContentScrollView吗

你的里面有找到啊,嗯,谢谢大神了,我看看

from hjtabviewcontroller.

Fgoson avatar Fgoson commented on May 27, 2024

不开启 HJTabViewControllerPlugin_BottomInset 会自动缩回去,开启了不会自动缩回去,对了,contentSize不足时可以找到子VC的tabContentScrollView吗

大神,不好意思我搞不定,你有空帮忙弄一下咯

from hjtabviewcontroller.

panghaijiao avatar panghaijiao commented on May 27, 2024

你想要实现成什么样式,contentSize不够缩回还是不缩回,不缩回就开启HJTabViewControllerPlugin_BottomInset ,想缩回,我的demo应该就会自动缩回,没遇到你说的空一段距离的问题,你可以做个demo发给我

from hjtabviewcontroller.

Fgoson avatar Fgoson commented on May 27, 2024

你想要实现成什么样式,contentSize不够缩回还是不缩回,不缩回就开启HJTabViewControllerPlugin_BottomInset ,想缩回,我的demo应该就会自动缩回,没遇到你说的空一段距离的问题,你可以做个demo发给我

嗯,怎么发demo发给你呢

from hjtabviewcontroller.

panghaijiao avatar panghaijiao commented on May 27, 2024

可以加我的技术交流QQ群 549749502,我的简介上面都有的

from hjtabviewcontroller.

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.