Geek Culture
Published in

Geek Culture

Custom Drop Down Text Field in SWIFTUI

Step-1

Create an XCode project using the SwiftUI.

Step-2

Go to the ContentView file and create three variables

Step-2

Now create the Menu in the ContentView body.

Step-3 — Design

Now create the design of the CustomTextField.

Remember

Step-4

Now use the ForEach and iterate the dropDownList & print the button on every dropDownList Item.

Patreon

--

--

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