Skip to content

Instantly share code, notes, and snippets.

@akiraak
Created March 23, 2011 09:05
Show Gist options
  • Save akiraak/882818 to your computer and use it in GitHub Desktop.
Save akiraak/882818 to your computer and use it in GitHub Desktop.
UIWebView でURLを表示前に画面をクリアするには about:blank を読み込ませる
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment