开发者

How can I put the three dots showing on what page you are on my views?

I have UIViewControler with three views and UISwipeGestureRecogniser and I can't figur开发者_运维百科e out how to put the dots that indicate on what page you are (like on the home screen on iOS.)


You are looking for the UIPageControl.

Just so you know, you have to update this control as your user changes from "page" to "page". It's essentially a passive display. (You can't, for example, tell it to automatically update when a scroll view scrolls.)


You want to checkout the UIPageControl

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜