Answers for "increase the textfield height based on the text height in swift ios"

0

swiftui textfield height

//It can be solved by using a .frame modifier, and the height argument

TextField("Random text", text: $text)
	.frame(height: CGFloat)

//This creates a frame around the textfield, and then sets the height to be a specific number of pixels
Posted by: Guest on August-12-2021

Code answers related to "increase the textfield height based on the text height in swift ios"

Code answers related to "Swift"

Browse Popular Code Answers by Language