Skip to content

Instantly share code, notes, and snippets.

@devgeeks
Created April 12, 2012 04:32
Show Gist options
  • Save devgeeks/2364594 to your computer and use it in GitHub Desktop.
Save devgeeks/2364594 to your computer and use it in GitHub Desktop.
change to ReadItLaterFull.m
// ADD THIS...
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
// JUST ABOVE THIS... (NEAR THE BOTTOM OF THE FILE)
-(void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
[delegate removeTheController];
}
- (void)dealloc {
[super dealloc];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment