标签: ios uiwebview uiimage xcode4
我正在尝试将gif图像加载到Web视图中,但在Web视图中加载图像时它会变大... 这意味着图像的大小不适合Web视图..
NSString *path = [[NSBundle mainBundle] bundlePath]; NSURL *baseURL = [NSURL fileURLWithPath:path]; [self.webview loadHTMLString:@"<img src='use001.gif'>" baseURL:baseURL];