开发者

How To Replicate This UIPageControl Look?

I want to replicate the functionality of this view in this app.

It has a UIPageControl at the bottom with 3 views that only changes the 开发者_Go百科view at the bottom, and not the whole view.

Any basic advice on how to accomplish this?

How To Replicate This UIPageControl Look?


Well, UIPageControl simply sends events informing you to change a page...

I would place the bottom view in a UIScrollView (that in turn would contain the 3 views you want to alternate), and when the user clicks the UIPageControl, you would set the contentOffset of the UIScrollView.

Makes sense?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜