| // |
| // UGAppViewController.m |
| // UGAPIApp |
| // |
| // Created by Ed Anuff on 3/12/12. |
| // Copyright (c) 2012 __MyCompanyName__. All rights reserved. |
| // |
| |
| #import "UGAppViewController.h" |
| |
| @interface UGAppViewController () |
| |
| @end |
| |
| @implementation UGAppViewController |
| |
| - (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. |
| } |
| |
| - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation |
| { |
| if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) { |
| return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); |
| } else { |
| return YES; |
| } |
| } |
| |
| @end |