Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UIWebView
您应该缓存 URL,因此不会再次请求 URL。
创建一个 URL 请求,您提供缓存策略:
NSURLRequest * req = [NSURLRequest requestWithURL:@"" cachePolicy:NSURLRequestReturnCacheDataElseLoad timeoutInterval:10.0f]; [myWebView loadRequest:req];
我认为最好检查您的视图将出现在该视图中的方法