title: problem when UIWebView to display gif image
body: <p>I want to display multiple images in a view. Images are downloaded from internet and are gif format.</p>
  
  <p>This is what I did, but only the default broken icon is shown.</p>
  
  <p><code>_images</code> is a NSArray stored the path of image files</p>
  
  <pre><code>NSMutableString *html = [NSMutableString string];
  
  for (NSString *str in _images) {
      [html appendFormat:@"&lt;img src='%@' /&gt;", str];
  }
  
  [_webView loadHTMLString:html baseURL:nil];
  </code></pre>
  
  <p>I tried this and image are displayed so I believe UIWebView are capable to display my images. </p>
  
  <pre><code>NSData *data = [NSData dataWithContentsOfFile:[_images lastObject]];
  [_webView loadData:data MIMEType:@"image/gif" textEncodingName:@"UTF-8" baseURL:nil];
  </code></pre>
  
  <p>Or is any other good way to display multiple images? Otherwise I may have to create a UIImageView for each image and put them into a scroll view.</p>