开发者

Swipe a viewcontroller as Muliplepage in iphone?

How to swipe a viewcontroller shows as muliple pag开发者_运维百科e, only data changing when we do swipe. please help me out, how should i achieve this task.

Regards Sri


Apple have a great tutorial from this year's WWDC which shows how to do a paging UIScrollView, which I think is what you want. The example code is here:

http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?code=y&source=x&bundleID=20645

And the video of the presentation (which explains a how it works very well) here:

http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=&a=kGSol9sgPHP%2BtlWtLp%2BEP%2FnxnZarjWJglPBZRHd3oDbACudP51JNGS8KlsFgxZto9X%2BTsnqSbeUSWX0doe%2Fzv%2FN5XV55%2FomsyfRgFBysOnIVggO%2Fn2p%2BiweDK%2F%2FmsIXj


Check out this github project. Just replace the Example View Controller with your own.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜