Skip to content

Instantly share code, notes, and snippets.

@mikeabdullah
Created June 18, 2014 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeabdullah/31cdf36f5e60a36b2d80 to your computer and use it in GitHub Desktop.
Save mikeabdullah/31cdf36f5e60a36b2d80 to your computer and use it in GitHub Desktop.
Passing along toolbar items during a segue
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
UIViewController *destination = segue.destinationViewController;
destination.toolbarItems = self.toolbarItems;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment