DevTechie
Published in

DevTechie

New in SwiftUI 4: Gauge View

Photo by Matthias Speicher on Unsplash

Gauge is a newly introduced view in SwiftUI 4 and is used to show values within a range.

Gauge view has been present in Apple watch faces for long time and are used to display current level of values in relation to a specified finite capacity.

For example, to shows min, max and current temp on watch face, Apple uses gauge view like the one shown below:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store