在UIPageControl中添加点的边框 [英] Add border for dots in UIPageControl

查看:150
本文介绍了在UIPageControl中添加点的边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在UIPageControl中为点添加边框颜色。以下是它的小图:

I want to add border color for dots in UIPageControl. Here is the small picture of it:

I我可以通过从XCode配置它来放置第二个点,但我不能让第一个和第三个圆圈在里面空。有没有一种简单的方法来实现这一目标?

I am able to put second dot by configuring it from XCode but I cannot make the first and third circles' inside empty. Is there a simple way to achieve that?

谢谢:)

推荐答案

对于 UIPageControl 的当前属性,这是不可能的。但您可以通过集成任何模仿iOS <$功能的第三方页面控件来实现。 c $ c> UIPageControl 。

That is not possible with the current properties available for UIPageControl. But you can do by integrating any third party page control which mimic the functionality of iOS UIPageControl.

其他答案已应用补丁。我非常不同意这个解决方案。

这篇关于在UIPageControl中添加点的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆