0

I have looked at the libraries like gauge kit but they does not solve my problem. Are there any other libraries for making gauge view as in the image? If not, then how can I go around about it?

I Checked these articles and the Libraries

https://medium.com/ajay-bhanushali/create-gaugeview-speedometer-in-swift-571ff97d1a68 (It does not give a label)

Libraries - (GaugeView, ABGaugeViewKit, WMGaugeView, AnyChart for iOS etc) - sectionsGapValue is different in my case

So I am stuck out in between the actual gauge.

enter image description here

Yogesh Patel
  • 1,893
  • 1
  • 20
  • 55

1 Answers1

-1

You should create your custom UIControl (make it IBDesignable). And draw it in

override func draw(_ rect: CGRect) { }

This tutorial should help you.

Detailed code to draw the text along a circular path, in this SO post : Draw text along circular path in Swift for iOS

claude31
  • 874
  • 6
  • 8