search

Home  >  Q&A  >  body text

ios - 堆糖首页这样的效果怎么实现啊?

1.这是官方的实现

2.这是我的实现

3.他的数据是随机的两种Cell ,当时当碰到大图的Cell大于1个的时候就可以横向滑动.
两种Cell的数据是一起传过来的.

天蓬老师天蓬老师2766 days ago361

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:18:18

    Swipe horizontally? You can do it with iCarousel.

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:18:18

    Choose different Cells for display based on different data.
    If the number of large pictures is greater than 1, make it scrollable.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:18:18

    The key to your problem is that you didn’t handle the big pictures and small pictures separately. Since the big pictures are at the top level, you can use the header or the first cell of the tableview to present the big picture. Here is a specially designed view for horizontal sliding. After receiving the data, extract all the data from the large image and display it on the horizontally sliding view at the top. The thumbnail remains unchanged.

    reply
    0
  • Cancelreply