diff options
| author | Brian Jordan | 2012-03-27 18:56:07 -0400 |
|---|---|---|
| committer | Brian Jordan | 2012-03-27 18:56:07 -0400 |
| commit | 176ea2eef31deaa3a3646807522c5580ac4df30a (patch) | |
| tree | ef38bad90f4329b70d52abe1160a6834e57fe03b /Video Tuneup/ViewController.m | |
| download | Video-Tuneup-176ea2eef31deaa3a3646807522c5580ac4df30a.tar.bz2 | |
Initial Commit
Diffstat (limited to 'Video Tuneup/ViewController.m')
| -rw-r--r-- | Video Tuneup/ViewController.m | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Video Tuneup/ViewController.m b/Video Tuneup/ViewController.m new file mode 100644 index 0000000..5625a9b --- /dev/null +++ b/Video Tuneup/ViewController.m @@ -0,0 +1,64 @@ +// +// ViewController.m +// Video Tuneup +// +// Created by Brian Jordan on 3/27/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import "ViewController.h" + +@implementation ViewController + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Release any cached data, images, etc that aren't in use. +} + +#pragma mark - View lifecycle + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)viewDidUnload +{ + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + +- (void)viewWillAppear:(BOOL)animated +{ + [super viewWillAppear:animated]; +} + +- (void)viewDidAppear:(BOOL)animated +{ + [super viewDidAppear:animated]; +} + +- (void)viewWillDisappear:(BOOL)animated +{ + [super viewWillDisappear:animated]; +} + +- (void)viewDidDisappear:(BOOL)animated +{ + [super viewDidDisappear:animated]; +} + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + // Return YES for supported orientations + if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { + return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); + } else { + return YES; + } +} + +@end |
