ios - 堆糖首页这样的效果怎么实现啊?
天蓬老师
天蓬老师 2017-04-18 09:16:18
0
3
359

1.这是官方的实现

2.这是我的实现

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

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
刘奇

Swipe horizontally? You can do it with iCarousel.

黄舟

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

大家讲道理

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template