
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 0.43 KB | hits: 12 | expires: Never
Getting prepareForSegue working with UIImagePicker
[self performSegueWithIdentifier:@"AddItem" sender:nil];
[self.navigationController dismissViewControllerAnimated:YES completion:nil];
UINavigationController *navigationController = segue.destinationViewController;
AddItemViewController *controller =
(AddItemViewController *)navigationController.topViewController;
controller.cameraController = self.navigationController;