luispadron / UICircularProgressRing

A circular progress bar for iOS written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I make a half ring take up full space in the view?

MobileMon opened this issue · comments

How can I make a half ring take up full space in the view?

The view always has space for the bottom half of the ring, but there is no bottom half

I make a half ring like this:
progressRing.fullCircle = false
progressRing.startAngle = 180
progressRing.endAngle = 360

Screen Shot 2019-08-02 at 7 57 41 AM

There is no way of doing this. This is just how the drawing works in the library. Not ideal, but currently there is nothing an end user can do to change this.