NSString *path = [[NSBundle mainBundle] pathForResource:@"3" ofType:@"gif"]; NSData *gifData = [NSData dataWithContentsOfFile:path]; [_webView loadData:gifData MIMEType:@"image/gif" textEncodingName:nil baseURL:nil];
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/3386.html