Create a gist now

Instantly share code, notes, and snippets.

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