UIPageControl dots with larger space in between each dots

十年热恋 提交于 2019-12-14 02:40:17

问题


I want have UIPageControl with larger space in between those dots. How can i achieve it.

Normal UiPageControl

I need this

Also i don't want to use any third party component. I'm just thinking of doing it via inheriting the default UIPageControl, but i'm not sure how to proceed.

Thanks in advance.


回答1:


Check styledpagecontrol from cocoacontrols

You can customize the way you want. I am using this in many apps.

You can have your own set of images for dots + you can set spacing between two dots.




回答2:


There isn't any way of doing it other than using 3rd party controls as of now. Search and use according to your requirements.



来源:https://stackoverflow.com/questions/29249305/uipagecontrol-dots-with-larger-space-in-between-each-dots

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!