title: Swiftui macos image as a button rendering as an image on top of a small button
body: <p>From looking at code online, it seems the following code in swiftUI</p>
  
  <pre><code>Button(action: {
      print("Button tapped!")
  }) {
      Image("iFEN")
  }
  </code></pre>
  
  <p>should render the image iFEN as a button that can be clicked. However - instead it renders this:</p>
  
  <p><a href="https://i.stack.imgur.com/fBxs0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fBxs0.png" alt="enter image description here"></a></p>
  
  <p>, the image on top of a small button that can be clicked. Why is this the case? Is something different between macos and ios in this case?</p>