title: How to implement a UIPageIndicator like a line
body: <p>I want to implement a page indicator like a line.
  <a href="https://i.stack.imgur.com/J4TzW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J4TzW.png" alt="enter image description here"></a></p>