我已经看了量表套件之类的图书馆,但它们无法解决我的问题。是否还有其他图书馆像图像中的图表视图一样?如果没有,那我该如何解决呢?
我检查了这些文章,图书馆
(它不给标签)
库) - (GaugeView,AbgaugeViewKit,wmgaugeviewKit,wmgaugeview,wmgaugeview,wmgaugeview,for ios for IOS等)
-我被认为是在实际规格之间。
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.

发布评论
评论(1)
您应该创建自定义的UICONTROL(使其可以使其具有ibdSigning)。并在本教程中绘制它
应该为您提供帮助。
详细的代码沿着圆形路径绘制文本,在此帖子中:沿iOS的Swift沿圆形路径绘制文本
You should create your custom UIControl (make it IBDesignable). And draw it in
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