title: how to add more than 100 uiimageviews in uiscrollview
body: <p>i have an uiscrollview and i add one by one uiimageviews but when i add more than 40 objects i have problem with memory i guess and the app crashes...what should i do? i am trying to make an app like photo viewer from apple! Help please!</p>
  
  <p>i do not want thumbnais i just want to show the next image when the user flick from one to another but i have to unload the previous image and show the next one</p>
  
  <p>i remove the previous like this         </p>
  
  <pre><code>UIImageView l;
  
  l=[[scroll subviews] objectAtIndex:0];
  [l removeFromSuperview];
  l=nil;
  </code></pre>
  
  <p>and then i add the next one like this</p>
  
  <pre><code>[scroll insertSubview:imageView atIndex:counter];
  </code></pre>
  
  <p>but i see a black background no image</p>
  
  <p>please help!</p>