How to show URL in UIWebView in iPhone/iPad/iPod :: N-FAQ

Posted on Updated on

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;

stay blessed;

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;

free counters

Advertisements

One thought on “How to show URL in UIWebView in iPhone/iPad/iPod :: N-FAQ

    Playemess said:
    February 3, 2011 at 16:01

    Nice site

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s