title: UIImageView _isResizable: Unrecognized Selector
body: <p>I have the following code to display an image on a brand but I get an UIImageView error.
  I resize my image of size 800x600 to fit to the size of the screen of the iPhone.</p>
  
  <pre><code>NSURL * url = [NSURL URLWithString:@"http://www.portallzc.com/galerias/galeria_Portal%20de%20Lazaro%20Cardenas/Club%2033/800/p16jklq9uj1f7a1c6tckkjrg1i8015.JPG"];
  NSData * urlData = [NSData dataWithContentsOfURL: url];
  UIImage * image = [UIImage imageWithData: urlData];
  CGRect rect = CGRectMake (0.0f, 40.0f, image.size.width, image.size.height);
  
  image = [[UIImageView alloc] initWithFrame: rect];
  [setImage image: image];
  </code></pre>
  
  <blockquote>
    <p>Error: Terminating app due to uncaught exception
    'NSInvalidArgumentException', reason: '- [UIImageView _isResizable]:
    unrecognized selector instance stmt to 0x6b8bb70'</p>
  </blockquote>