title: iOS - detect when user copy to clipboard - [UIPasteboard generalPasteboard]
body: <p>quick easy question</p>
  
  <p>while using a WebView with some text in it - the user can select a snippet of text from it
  and press a UIButton which I created - running the following action:</p>
  
  <pre><code>-(IBAction)copyToClip
  {
      NSString *copyClip = [UIPasteboard generalPasteboard].string;
      NSLog(@"Clip = %@",copyClip);
      // (works fine)
  }
  </code></pre>
  
  <p>I would like to call the same function without a UIButton, thus when the user did a "copy" action it will activate the above code. (I assume a listener)</p>
  
  <p>what would be the appropriate listener for this?</p>