вот мой код:
- (IBAction) grabImage: (id) отправитель {
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.allowsImageEditing = YES;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
[self presentModalViewController: picker animated:YES];
[picker release];
}
- (void) imagePickerController: (UIImagePickerController *) средство выбора didFinishPickingImage: (UIImage *)[picker dismissModalViewControllerAnimated: YES];
}