Since I'm using a tapku calendar I want to fire a manual segue when a date is pressed. So I instantiate the view controller that I want to segue to, the segue, and then perform the segue.
DisplayScheduleViewController *vc = [[DisplayScheduleViewController alloc] init];
mySegue = [[UIStoryboardSegue alloc] initWithIdentifier:@"Day G" source:self destination:vc];
[self performSegueWithIdentifier:@"Day G" sender:self];
}
However, the program crashes once a date is pressed and this is the exception message:
terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver () has no segue with identifier 'Day G''
also before running the program i get this warning message in the storyboard:
Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:.
Do you know how to make it work?
Thanks