title: UIButton memory
body: <p>I am creating about 100 <code>uibuttons</code> and each one has a unique image( the images are some 60x70 png images).I have a problem with the memory.I would like at some point to release this memory, at the point i have finished using this buttons.</p>
  
  <p>I set the images this way.</p>
  
  <pre><code>[button1 setImage:imageButton1  forState:UIControlStateNormal];
  </code></pre>
  
  <p>where </p>
  
  <pre><code>button1=[UIButton buttonWithType:UIButtonTypeCustom];
  </code></pre>
  
  <p>Now what i am trying to do is to set the image used by the uibuttons to nil as follows.</p>
  
  <pre><code>[button1 setImage:nil forState:UIControlStateNormal];
  </code></pre>
  
  <p>But this way, the memory remain the same.</p>