Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui text field

@State private var username: String = ""
var body: some View {        
	TextField("Type here", text: $username)
		.font(.system(size: 30))      
	}
Source by developer.apple.com #
 
PREVIOUS NEXT
Tagged: #swiftui #text #field
ADD COMMENT
Topic
Name
5+9 =