|
hyzjshwoMay 19, 2016
1
我没实现过这样的,不过我可能会尝试 UIScrollview + UITableview ,应该可以实现吧
|
|
hyzjshwoMay 19, 2016
2
好像有简单的方法
|
|
wj2061May 19, 2016
4
scrollview 先设好 frame , 然后设成 tableview 的 tableHeaderView
|
|
enjoeqMay 19, 2016
5
我能想到的是整个就是一个 tableview ,只是把 tableview 的 contentInset 和 indicatorInset 设为轮播图片的 view 的高度,然后再 observe tableview 的 contentOffset ,当 tableview 的 cell 向上滚动超过界限时就修改轮播图片的 origin.y ,并且同时修改 tableview 的 contentInset 和 indicatorInset 直到 0 ,大概就是这样的思路吧,不过只是猜想而已,没有实际尝试过,有错误请指正,谢谢。
|
|
cbspapapaMay 19, 2016
6
https://github.com/cbsfly
可以参考我 github 里面知乎日报的实现或者轮播广告的 demo |
|
7
|
|
kobe1941May 20, 2016
9
|
|
bloodshedMay 23, 2016
10
tableViewHeader
|
|
hulz413Jun 11, 2016
11
我给 UIScrollView 加了个 category ,实现了无限轮播的功能,有需要可以参考下: https://github.com/hulizhen/HLZInfiniteScrollView
|
|
fhefhJun 16, 2016
12
mark~~
|
|
fhefhJun 16, 2016
13
@cbspapapa https://github.com/cbsfly/CBSSegmentView 这个不错 start
|