Code:
ImagePicker *imgPic =[[ImagePicker alloc] initWithCompletionHandler:^(UIImage *image, NSString *name,NSDate* date) {
ImageData *imgData =[[ImageData alloc]init];
imgData.image =image;
imgData.title =name;
imgData .date = date ;
[arrayForObjects insertObject:imgData atIndex:0];
[imagesTable reloadData];
when i try to assign my date to imgData.date it crashes with the message EXC_BAD ACCESS.....
actually wats wrong with the code.......please help me anyone......helps will be appriciated...pls help me to do the thing..........
Last edited by a moderator: