Last active
August 29, 2015 14:18
-
-
Save yayoc/df17c458474193d741a5 to your computer and use it in GitHub Desktop.
get title from web view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)webViewDidFinishLoad:(UIWebView *)webView | |
{ | |
NSString *title = [webView stringByEvaluatingJavaScriptFromString:@"document.title"]; | |
self.title = title; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment