76 lines
1.6 KiB
Objective-C
76 lines
1.6 KiB
Objective-C
//
|
|
// WelcomeMatChannelWebViewController.m
|
|
// Freestyle Judo
|
|
//
|
|
// Created by Vincente D'Ingianni on 10/6/13.
|
|
// Copyright (c) 2013 Binary Systems, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "WelcomeMatChannelWebViewController.h"
|
|
|
|
|
|
@implementation WelcomeMatChannelWebViewController
|
|
|
|
@synthesize webView = _webView;
|
|
@synthesize Toolbar = _Toolbar;
|
|
@synthesize BackButton = _BackButton;
|
|
|
|
- (void) viewWillAppear: (BOOL)animated
|
|
{
|
|
[super viewWillAppear:animated];
|
|
self.webView.scalesPageToFit = YES;
|
|
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.youtube.com/user/welcomematstevescott"]]];
|
|
}
|
|
|
|
|
|
- (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)goBack:(UIBarButtonItem *)sender {
|
|
|
|
[self dismissViewControllerAnimated:YES completion:nil];
|
|
}
|
|
|
|
//@implementation FSJWebViewController
|
|
//
|
|
//- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
|
//{
|
|
// self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
|
// if (self) {
|
|
// // Custom initialization
|
|
// }
|
|
// return self;
|
|
//}
|
|
//
|
|
//- (void)viewDidLoad
|
|
//{
|
|
// [super viewDidLoad];
|
|
// // Do any additional setup after loading the view.
|
|
//}
|
|
//
|
|
//- (void)didReceiveMemoryWarning
|
|
//{
|
|
// [super didReceiveMemoryWarning];
|
|
// // Dispose of any resources that can be recreated.
|
|
//}
|
|
|
|
@end
|