开发者

how to implement paging same as safari in iphone?

I want implement paging same as safari in iphone.When user touch below button of bottom then thaey shows total pages open so user can scroll wvery page.I want to implement this type of functionality.how it possible.P开发者_StackOverflow社区lease advice me for this query.

Thanks in advance.


To implement the page scrolling page have a look at using UIScrollView and UIPageControl. Here's sample code from Apple which shows a simple implementation of this.

Basically each page is a view controller which UIScrollView manages by letting you swipe to scroll from one to the other. Not sure if this is exactly how safari does it but it's a good start.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜