//
// MyTableViewFAQViewController.h
// TableViewLibrary
//
// Created by Krishnan Sriram Rama on 4/24/15.
// Copyright (c) 2015 Krishnan Sriram Rama. All rights reserved.
//
#import
@interface MyTableViewDetailedWebViewController : UIViewController
@end
//
// MyTableViewFAQViewController.m
// TableViewLibrary
//
// Created by Krishnan Sriram Rama on 4/24/15.
// Copyright (c) 2015 Krishnan Sriram Rama. All rights reserved.
//
#import "MyTableViewDetailedWebViewController.h"
@interface MyTableViewDetailedWebViewController ()
@property (unsafe_unretained, nonatomic) IBOutlet UIWebView *webview;
@end
@implementation MyTableViewDetailedWebViewController
- (void)viewDidLoad {
[super viewDidLoad];
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]];
[[self webview] loadRequest:request];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
No comments:
Post a Comment