NSData *gifData = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"750-1334" ofType:@"gif"]];
UIWebView *webView = [[UIWebView alloc] initWithFrame:self.view.bounds];
[webView setScalesPageToFit: YES];//此句一定要加,刚开始折腾了好长时间不出来,加上它才出来
[self.view addSubview:webView];
[webView loadData:gifData MIMEType:@"image/gif" textEncodingName:@"" baseURL:[NSURL URLWithString:@""]];