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
### Keybase proof | |
I hereby claim: | |
* I am bornbnid on github. | |
* I am bornbnid (https://keybase.io/bornbnid) on keybase. | |
* I have a public key ASAigHSuY3sGWJ8G1HhSpR6Zr_hHLtJVKvJkSpsC5RoomQo | |
To claim this, I am signing this object: |
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
#pragma mark - UIAction sheet handling for image options | |
- (IBAction)imageButtonPressed:(id)sender{ | |
UIActionSheet *screenshotOptions = [[UIActionSheet alloc] initWithTitle:@"Image Source" | |
delegate:self | |
cancelButtonTitle:@"Cancel" | |
destructiveButtonTitle:nil | |
otherButtonTitles:@"Camera", @"Photo Library", nil]; | |
[screenshotOptions showFromRect:self.imageButton.frame inView:self.imageButton.superview animated:YES]; | |
} |