I am trying to make a text field I created to have the ability to move inside a single view in my app. I also am trying to have it have the ability to be dynamically sized by the user as well. Any help would be awesome, thanks!
Do you mean a
TextField or a
TextView and is this related to SwiftUI or UIKit?
This is in relation to the TextField and SwiftUI frame work.
A TextField is only a single line in SwiftUI. Try using a TextEditor which will cater for multiline.
By default TextEditor will take up as much room as it can so you need to set a frame() to control that if you need to.
TextEditor(text: $text) .frame(maxWidth: .infinity, maxHeight: 300)
It requires a Binding variable. In the case above text is defined as
@State private var text = ""
By the way, TextEditor is available only in iOS 14 +