Post

Replies

Boosts

Views

Activity

Reply to SwiftUI view execution confusion, both buttons execute same code
I'm seeing similar behavior in iOS 15. I have several buttons in an hstack. Applying button styles to the buttons makes no difference. What does happen is that some button touches will be accepted, but then the buttons stop responding. If I tap on a button on another part of the view, then those buttons are able to function again. The behavior only shows up on iOS 15, on iOS 14, the buttons behave correctly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21