We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How would i use the function to change views created with storyboard?
The text was updated successfully, but these errors were encountered:
(void)sidebar:(RNFrostedSidebar *)sidebar didTapItemAtIndex:(NSUInteger)index { NSLog(@"Tapped item at index %i",index); if (index == 0) { [sidebar dismiss]; [self performSegueWithIdentifier:@"View1" sender:self];
} if (index == 1) { [sidebar dismiss]; [self performSegueWithIdentifier:@"view2" sender:self];
} if (index == 2) { [sidebar dismiss]; [self performSegueWithIdentifier:@"view3" sender:self];
}
if (index == 3) { [sidebar dismiss]; [self performSegueWithIdentifier:@"view4" sender:self];
} if (index == 4) { [sidebar dismiss]; [self performSegueWithIdentifier:@"view5" sender:self];
} }
Sorry, something went wrong.
No branches or pull requests
How would i use the function to change views created with storyboard?
NSLog(@"Tapped item at index %i",index);
if (index == 1) {
//code to change view
[sidebar dismiss];
}
}
The text was updated successfully, but these errors were encountered: