Created
April 12, 2012 04:32
-
-
Save devgeeks/2364594 to your computer and use it in GitHub Desktop.
change to ReadItLaterFull.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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