Post

Replies

Boosts

Views

Activity

Comment on Xcode 16: SwiftUI plain Button & UIImageView not working
Also to add that I did get a response back from the feedback assistant claiming it was expected behaviour because we're wrapping a UIImageView that has isUserInteractionEnabled default false. Setting it to true does fix it but that does not explain why .plain is broken compared to .borderless or why it was fixed after finding it in the Xcode 16.0 beta... Button styles should behave consistently.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25