It may have been too ambitious to ask ChatGPT to create an iOS app. So in this
article, I ask ChatGPT to create a circular slider in SwiftUI. It can take a while
and the more information provided to ChatGPT the better, but it is possible to get
useable code from ChatGPT.
A Slider control is a UI control that allows the user to select a value from within a
range of values. In SwiftUI, it is usually presented as a thumb selector on a linear
line. There are times when it might be better to present this type of selector as a
circle with the thumb moving around the circumference. This …
There is limited ability to customise the Slider in SwiftUI as of Xcode 13. These are
three options of presenting a custom view of the Slider in a SwiftUI App. Set the
tint color and background color of the slider; fall back to using the UISliderView
from UIKit or create a custom SliderView from scratch in SwiftUI.