now IOS 15, has @FocusState, e.g. @FocusState private var focus: Bool
but I don't have a Button to make the focus = true, I tried .Task , .onAppear but they don't work.
so I used your solution, I just placed focus = true, it looks weird, but is working perfect, so , thank you very much
Post
Replies
Boosts
Views
Activity
I think you are right about the view been removed from the screen, I have an image, that I want to tap to toggle opacity, and when it is not visible, I tap, and the image continue invisible, noting happens. Thanks