As with most apps, our apps need to allow the user to immediately type in a specific field when a view loads for the best experience. We currently have to use a UIViewRepresentable to make this possible. I was sure it would get resolved with the next release to SwiftUI, but unless I've missed it, this is still not possible.
In the Build SwiftUI apps for tvOS session, I saw prefersDefaultFocus(_:in:)) (<= markdown parsing failure) which looked promising. But it is only available for tvOS and watchOS.
Has anyone figured out how to make a TextField or TextEditor become first responder when its view is shown?
In the Build SwiftUI apps for tvOS session, I saw prefersDefaultFocus(_:in:)) (<= markdown parsing failure) which looked promising. But it is only available for tvOS and watchOS.
Has anyone figured out how to make a TextField or TextEditor become first responder when its view is shown?