Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.43 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Getting prepareForSegue working with UIImagePicker
  2. [self performSegueWithIdentifier:@"AddItem" sender:nil];
  3.        
  4. [self.navigationController dismissViewControllerAnimated:YES completion:nil];
  5.        
  6. UINavigationController *navigationController = segue.destinationViewController;
  7. AddItemViewController *controller =
  8. (AddItemViewController *)navigationController.topViewController;
  9. controller.cameraController = self.navigationController;