How to use uiwebview to display any web page?

How to use uiwebview to display any webpage for url request? I do not know how to do that. who can tell me how to do this? has any open source? Thank you

+4
source share
1 answer
NSString *urlAddress = @"http://www.google.com"; NSURL *url = [NSURL URLWithString:urlAddress]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestObj]; 
+12
source

Source: https://habr.com/ru/post/1332293/


All Articles