<

Web Navigation

Controller

>

 

Create a Single View Application

Add Web View
Add Bar Button Items. Command Click to WebView. Add appropriate ....
 
 

ViewController.h

@interface NMFirstViewController : UIViewController

@property (nonatomic, strong) IBOutlet UIWebView *webView;

ViewController.m

@implementation NMFirstViewController
@synthesize webView;

- (void)viewDidLoad
{

NSURL *url = [NSURL URLWithString:@"http://www.johnvalentino.com"];
NSURLRequest *requestURL = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestURL];

Click and drag from yellow view controller at bottom to webView and select "WebView"