title: imageWithData method problem
body: <p>I have a UIImageView,while loading it for the first time i should not have any image so i will make the image nil.</p>
  
  <pre><code>self.myImageView.image = nil;
  </code></pre>
  
  <p>on pressing a button i need the image to be loaded using the imageWithData method as i have a image in NSData.While i am trying to do this the application crashes.I even tried allocating and using with initWithData that is of no help.</p>
  
  <pre><code>self.myImageView.image = [UIImage imageWithData:myImageData];
  </code></pre>
  
  <p>But, wheni use this method while loading for the first time using my data and then try to put it into Image view with the button press it works fine.</p>
  
  <p>Please help me regarding this, Thanks.</p>