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
/** | |
* Code to add an animated shadow to a UICollectionViewCell | |
*/ | |
// | |
// HAIMainMenuCollectionViewCell.m | |
// app-haikudeck | |
// | |
// Created by Kevin Leneway |
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
-(void)FPPickerController:(FPPickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { | |
// first check for image from camera roll or camera | |
UIImage *image = [info objectForKey:@"FPPickerControllerOriginalImage"]; | |
// if not found, check to see if the image has been downloaded | |
if(!image) { | |
NSData *localData = [NSData dataWithContentsOfURL:[info objectForKey:@"FPPickerControllerReferenceURL"]]; | |
if(localData) { | |
image = [UIImage imageWithData:localData]; | |
} |
NewerOlder