Skip to content

Instantly share code, notes, and snippets.

@brettkelly
Created May 7, 2012 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brettkelly/2630580 to your computer and use it in GitHub Desktop.
Save brettkelly/2630580 to your computer and use it in GitHub Desktop.
Unmodified ECViewController.m
#import "ECViewController.h"
@interface ECViewController ()
@end
@implementation ECViewController
- (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
{
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment