title: Trying to a create a custom frame for background image in UIButton for UIViewRepresentable
body: <p>I am trying to create a custom frame for a background image on my UIButton. Here is my code so far:</p>
  <pre><code>struct MSButton: UIViewRepresentable {
      
      var label: String
      var action: (() -&gt; Void)?
      
      init(_ label: String, action: @escaping () -&gt; Void) {
          self.label = label
          self.action = action
      }
      
      func makeUIView(context: Context) -&gt; UIButton {
          let button = UIButton()
                  
          button.setTitle(label, for: .normal)
          button.setBackgroundImage(UIImage(named: &quot;button.png&quot;), for: .normal) // Where I'm trying to add the custom frame.
          
          return button
      }
      
      func updateUIView(_ uiView: UIButton, context: Context) {
          
      }
  }
  </code></pre>
  <p>How would I go about doing this? Currently, the preview just shows the background image stretching to the entire screen.</p>