Need help coding a Speedometer in Swift 4

Hi. I’m searching for help to code a Speedometer using Swift 4 in Xcode.
Any help or pointers or sample code would be really appreciated.

Welcome to the community! Have you checked out GaugeKit at GitHub? You can easily customize the source to fit your needs.

Rolling your own controls is fun, check out:

Custom Controls in iOS

Reproducing Popular iOS Controls

Edit: I just realized that you are looking for the motion stuff, not the speed meter lol! Disregard.

Welcome @standrew! I would also check out the documentation for Core Motion and CMDeviceMotion.


This topic was automatically closed after 166 days. New replies are no longer allowed.