开发者

iOS horizontal listview

开发者 https://www.devze.com 2023-02-11 13:11 出处:网络
Listview: I need to implement a listview that is horizontal instead of vertical. 开发者_如何学Python

Listview:

I need to implement a listview that is horizontal instead of vertical.

开发者_如何学Python

Any example of this? Is it even possible?

I've try a scrollview, but it doesn't seems to be possible to dequeue cell. So it's very long to generate.

Thanks for your help.


You're going to want to use a UIScrollView with paging enabled. You'll have to roll your own queueing/dequeuing view implementation though. At most you should only need 3 views in your content view at a time. One to show the current item and the items to the left and the right.


try this component: https://github.com/Kastet/APCarouselView

0

精彩评论

暂无评论...
验证码 换一张
取 消