title: how to get image name from an UIButton on iPhone sdk?
body: <p>I'm trying to get the name of the background image from a custom button.</p>
  
  <p>I call this method when I click over the UIButton:</p>
  
  <pre><code>-(void)getButtonImageName:(id)sender{       
      UIButton *resultButton = (UIButton *)sender;
      NSLog(@" The button's image is %@.", resultButton.currentImage);
  }
  </code></pre>
  
  <p>I can get the title and other properties from the button but not the background image name.</p>
  
  <p>Anyone know how to do that? Thanks!</p>