top of page

56. Article: SwiftUI Gauge

Writer's picture: Hui WangHui Wang

Gauge is a new SwiftUI view introduced in iOS 16 (SwiftUI 4). It is a view that shows a value within a range.


In the real world, a gauge is an instrument or device for measuring the magnitude, amount, or contents of something.


Gauge is similar to Slider. You can think of Gauge as a combination of ProgressView and Slider.


This article I recommend today will introduce the use of Gauge, several styles of label display, and how to customize the Gauge view.


References:


SwiftUI Gauge


 

Follow me on:

Comments


Never Miss a Post. Subscribe Now!

I am an iOS developer, and I will share some knowledge related to iOS development from time to time.

Thanks for submitting!

© 2022 by (Foks) Hui Wang

bottom of page