-
Notifications
You must be signed in to change notification settings - Fork 0
/
TFTPregnancyViewController.m
46 lines (36 loc) · 1.1 KB
/
TFTPregnancyViewController.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
45
46
//
// TFTPregnancyViewController.m
// Endo Tools
//
// Created by Johnson Thomas on 7/22/13.
// Copyright (c) 2013 Johnson Thomas. All rights reserved.
//
#import "TFTPregnancyViewController.h"
@interface TFTPregnancyViewController ()
@end
@implementation TFTPregnancyViewController
@synthesize webview;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
// self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:255/255 green:102/255 blue:102/255 alpha:1];
[super viewDidLoad];
NSString *path = [[ NSBundle mainBundle] pathForResource:@"pregnancy_tsh" 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