Below is a small code to display contents over UIWebView
Assuming that you have declared a UIWebView in your header file; In my case it is detailWebView.
NSString* str = @”http://www.yahoo.com”;
NSURL* url = [NSURL URLWithString:str];
[self.detailWebView loadRequest:[NSURLRequest requestWithURL:url]];
Thats it; Keeping user interaction and multi-touch options checked in xib file will allow user to play with web page;
share every bit of new thing you learn;
This post belongs to N-FAQ category where i post anything i learn new during my work; N-FAQ is basically Not-FAQ;