Im trying to change the cell image to be an image from the camera. This is the code i have that is initiated when you click the cell. It works about 40% of the time. It will crash the app, then i try it again... and it works... no rhyme or reason to it! Anybody have idea how i could fix it? Oh and cameraimage is a UIImage i defined...
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
picker.allowsImageEditing = YES;
[self presentModalViewController

icker animated:YES];
[picker release];
- (void)imagePickerController

UIImagePickerControll er *)picker didFinishPickingImage

UIImage *)image editingInfo

NSDictionary *)editingInfo {
cameraimage = image;
[picker dismissModalViewControllerAnimated:YES];
[self.tableView reloadData];
}
under the definition of the cell i have this:
cell.image = cameraimage;