【问题标题】:How to implement a UIPageIndicator like a line如何像线条一样实现 UIPageIndicator 【发布时间】:2019-08-02 11:18:26 【问题描述】: 我想实现一个像线条一样的页面指示器。 【问题讨论】: 使用 UIlabel 或 UIview 标签: ios swift4 uipagecontrol 【解决方案1】: 你必须像 line 一样创建 UIControl 或使用 来自 Github 的代码: https://github.com/leonx98/LXPageControl https://github.com/ChiliLabs/CHIPageControl 【讨论】: