Anyone an idea how to create an Alert in SwiftUI that contains a TextField?
Although not exactly the same, if all you're looking for is a native, modal-like view with an edit box, you could use a popover. It works out of the box (minus a sizing bug) without needing to traverse the view hierarchy.