title: Several images on one UIButton
body: <p>I need some help and advice on using multiple images simultaneously on the same custom UIButton. </p>
  
  <p>Here is what I have:</p>
  
  <ol>
  <li>An array holds the core definitions for a number of buttons.</li>
  <li>Depending on a set of parameters, several buttons are being dynamically generated and displayed.</li>
  <li>Depending on actions and answers some are removed from view, some change their appearance and meaning (i.e. new buttons replace them)</li>
  </ol>
  
  <p>...Ultimately, the number of buttons that could be created is vast...</p>
  
  <p><em>Under the hood:</em>
  There are a few template PNG files that I use to create the faces of the buttons. <a href="http://blog.chomperstomp.com/creating-dynamically-re-sizable-buttons-for-iphone-apps/" rel="nofollow noreferrer">This article</a> was of great help. These are the faces for normal and active state. The handling of dynamic creation and removal from view was done with the wonderful help I got from postings here!</p>
  
  <p><strong>QUESTION:</strong>
  <em>Is there a way that I can use a third image (PNG with transparency) to have an icon or a symbol instead if the button textual title/label?</em></p>
  
  <p>As you might have guessed, i would like to avoid having a huge number of unique hard-coded faces for each of the numerous buttons and would like to only add a small graphical symbol to the face of the dynamically generated and stretched button. <em>IS THIS POSSIBLE?</em></p>
  
  <p>Thank you!</p>
  
  <p>P.S. <a href="https://stackoverflow.com/questions/2451223/uibutton-how-to-center-an-image-and-a-text-using-imageedgeinsets-and-titleedgei">Found the answer <strong>here.</strong></a></p>