开发者

Continuously looping UIScrollViews?

I'm working on developing a CoverFlow type UIScrollView implementation quite simil开发者_运维知识库ar to this https://github.com/thefaj/OpenFlow by Alex Fajkowski. I'm developing it more as a learning exercise as I keep finding the requirement to do similar things for menus/selections in my user interaces.

Alex's OpenFlow example is great but I'm wondering how to make it loop continuously, instead of scrolling A to B as the UIScrollView seems to do.

Is it possible, or a good idea, to loop views within a UIScrollView for a continuous 'flow' of images/items somehow or is there a better approach than using a UIScrollView for this?

I'm thinking that without the UIScrollView the smooth scrolling and inertia etc might be hard to re-create?


you can set the number of images to a big number in the afcoverflow and load dynamically. this isnt make the coverflow infinite but it does what you want

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜