开发者

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

开发者 https://www.devze.com 2023-03-28 02:30 出处:网络
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

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

精彩评论

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