search

Home  >  Q&A  >  body text

objective-c - 请教一个IOS的布局问题

我希望当手指上下滑动屏幕的时候导航栏下面的内容都能从导航栏下面滑过,,应改怎么布局比较好,谢谢~!

PHPzPHPz2893 days ago365

reply all(4)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:36:57

    UITableViewController

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:36:57

    Do you mean that your button and search box are always fixed at the top? , if so, there is no need to use header. It is better to lay it out separately.

    reply
    0
  • 迷茫

    迷茫2017-04-18 09:36:57

    collectionView is pretty good

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:36:57

    It would be nice if the part below your navigation bar is a whole and can be scrolled beyond the screen.
    That is, your carousel box and the cv below are a whole.
    Pack the above button, search box, and carousel box into a view and set it as the header of cv.

    reply
    0
  • Cancelreply