55 lines
1.0 KiB
Objective-C
55 lines
1.0 KiB
Objective-C
//
|
|
// BSIWebViewController.m
|
|
// Freestyle Judo
|
|
//
|
|
// Created by Vincente D'Ingianni on 10/6/13.
|
|
// Copyright (c) 2013 Binary Systems, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "BSIWebViewController.h"
|
|
|
|
|
|
@implementation BSIWebViewController
|
|
|
|
@synthesize webView = _webView;
|
|
@synthesize BSIWebToolbar = _BSIWebToolbar;
|
|
@synthesize DoneButton = _DoneButton;
|
|
|
|
|
|
- (void) viewWillAppear: (BOOL)animated
|
|
{
|
|
[super viewWillAppear:animated];
|
|
self.webView.scalesPageToFit = YES;
|
|
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.binary-systems.com"]]];
|
|
}
|
|
|
|
|
|
- (BOOL) shouldAutorotateTOInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation
|
|
{
|
|
return YES;
|
|
}
|
|
|
|
|
|
|
|
- (void)viewDidLoad
|
|
{
|
|
[super viewDidLoad];
|
|
// Do any additional setup after loading the view.
|
|
|
|
}
|
|
|
|
- (void)didReceiveMemoryWarning
|
|
{
|
|
[super didReceiveMemoryWarning];
|
|
// Dispose of any resources that can be recreated.
|
|
}
|
|
|
|
|
|
|
|
- (IBAction)done:(UIBarButtonItem *)sender {
|
|
[self dismissViewControllerAnimated:YES completion:nil];
|
|
}
|
|
|
|
|
|
@end
|