|
|||
|
|||
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 - (void)viewDidLoad NSURL *url = [NSURL URLWithString:@"http://www.johnvalentino.com"]; |
|||
Click and drag from yellow view controller at bottom to webView and select "WebView" | |||
|
|||
|
|||