Created
February 3, 2014 15:50
-
-
Save PDMackinnon/8786379 to your computer and use it in GitHub Desktop.
example of show/hide a toolbar in response to a tap gesture
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
- (IBAction)tapOnce:(UITapGestureRecognizer *)sender { | |
if ([[self tools] isHidden]) { | |
[[self tools] setHidden:NO]; | |
} | |
else { | |
[[self tools] setHidden:YES]; | |
}//end if | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment