title: How to get the image name of button in IOS?
body: <p>I am new to <code>IOS and Objective-C</code>.</p>
  
  <p>I set the image to the button like the following code.</p>
  
  <pre><code>UIButton *modeChangeButton = [[UIButton alloc] initWithFrame:CGRectMake(233, 490, 60, 60)];
  [modeChangeButton setImage:[UIImage imageNamed:@"recordmode.PNG"] forState:UIControlStateNormal];
  
  [self.view addSubview:modeChangeButton];
  </code></pre>
  
  <p>But how to get the image name of the <code>button</code> ? </p>
  
  <p>For example, I want to get the <strong>recordmode.PNG</strong>...</p>
  
  <p>Thanks in advance.</p>