Wheel Picker View in SwiftUI

How to create a wheel menu, and get the user’s swipe direction

Sarah
Better Programming
Published in
3 min readMar 23, 2022

--

Start with the data you want to show in the wheel.

If you want to use the wheel as a color wheel, you can store the color value.

If you would like to use this as a menu with an image at the middle of the wheel, then you can add an image variable.

--

--