title: Menu for copying from Label
body: <p>I have code to copy the numbers from the Label.</p>
  
  <p>I have a button for copying, how can I make it so that when I click on it open the menu that is in the photo and I could click the copy button?</p>
  
  <p><a href="https://i.stack.imgur.com/uEAB6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uEAB6.jpg" alt="enter image description here"></a></p>
  
  <pre><code>@IBAction func copybutton(_ sender: UIButton) {
      UIPasteboard.general.string = displayResultLabel.text
  }
  </code></pre>