I have 2 UIButtons
on a view.
Each of them are linked to 2 different views.
They have to pass different data depending which button you just tapped.
I k
In order to navigate different segues in objective C you need to follow these actions.
customize the code as following, here's an example:
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if([segue.identifier isEqualToString:@"segueNumberOne"]){
YourViewController *functionalityViewController = [segue destinationViewController];
functionalityViewController.someProperty = someValue;
NSLog(@"move to segue number 1");
}else if ([segue.identifier isEqualToString:@"segueNumberTwo"]){
NSLog(@"move to segue number 2");
}