luispadron / UICircularProgressRing

A circular progress bar for iOS written in Swift
MIT License
1.73k stars 290 forks source link

Size and offset. #250

Closed jimijon closed 4 years ago

jimijon commented 4 years ago

Bug Report

:warning: Your issue will be closed if these are not filled out. :warning:

Version

6.2

Overview of what you tried to do

drawInnerRing I had to hard code to move the arc in the view. let center: CGPoint = CGPoint(x: bounds.midX, y: bounds.midY + 60)

let outerRadius = CGFloat(100.0)

What is the expected outcome?

Doesn't seem to affect the size Id does move the center, just can't figure out how to resize.

What is the actual outcome?

half works and I have to modify the core files.

Post sample code or example here

ANSWER HERE