利用UIWebView显示gif 2015/06/28 14095 NSString *path = [[NSBundle mainBundle] pathForResource:@"3" ofType:@"gif"]; NSData *gifData = [NSData dataWithContentsOfFile:path]; [_webView loadData:gifData MIMEType:@"image/gif" textEncodingName:nil baseURL:nil];