Use .allowsHitTesting(false) on the view. This configures whether the view will accept hit test operations.
Circle()
.frame(width: 200, height: 200)
.allowsHitTesting(false)
Comments
Join the discussionNo comments yet. Be the first to comment.