-
Notifications
You must be signed in to change notification settings - Fork 0
/
BethesdaViewController.m
44 lines (35 loc) · 1.05 KB
/
BethesdaViewController.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// BethesdaViewController.m
// Endo Tools
//
// Created by Johnson Thomas on 7/15/13.
// Copyright (c) 2013 Johnson Thomas. All rights reserved.
//
#import "BethesdaViewController.h"
@interface BethesdaViewController ()
@end
@implementation BethesdaViewController
@synthesize webview;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
// self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:255/255 green:102/255 blue:102/255 alpha:1];
[super viewDidLoad];
NSString *path = [[ NSBundle mainBundle] pathForResource:@"table" ofType:@"html" ];
NSURL *url = [NSURL fileURLWithPath:path];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webview loadRequest:request];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end