search

Home  >  Q&A  >  body text

objective-c - tableveiw, as the tableheaderView of another tableView, cannot slide?

Use a tableveiw (if called tableviewOne) as the tableheaderView of another tableview
I found that tableviewOne cannot slide, how to solve it

Tried hittest, no use

http://stackoverflow.com/ques...

The following is the key code
github: https://github.com/CoderYLZha...

过去多啦不再A梦过去多啦不再A梦2836 days ago677

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:36:23

    When you put the code on your github, HeaderViewnumberOfRowsInSection返回30个就可以了
    contentSize小于HeaderViewsize, it will naturally move the entire tableView

    reply
    0
  • Cancelreply