I'm new in ios app developping and i'm having some trouble with multiple warnings.
I have a Navigation Controller that load a table view. From that table view one touch on a cell pushes a new VC (basically, the detail of the cell). And on that "detailView", when a certain button is pushed, another VC is pushed.
I push the last VC with the following code :
- (IBAction)toMoreDetail:(id)sender
{
[self performSegueWithIdentifier:@"toMoreDetail" sender:self];
}
And when i do that, 2 warnings are poping :
2012-08-05 02:25:41.842 appName[2145:f803] nested push animation can result in corrupted navigation bar
2012-08-05 02:25:42.197 appName[2145:f803] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
I didn't find any good answer so far. Maybe anyone can help me with this problem.
Thanks :)
Edit : here is the code for the other segue :
From the TableList to the VC of detail (the segue start from the prototype cell and goes to the detail vc) :
- (void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([[segue identifier] isEqualToString:@"toDetailEvent"])
{
NSInteger selectedIndex = [[self.tableView indexPathForSelectedRow] row];
DetailEvent* detailEvent = [segue destinationViewController];
detailEvent.eventToDisplay = [listEvents objectAtIndex:selectedIndex];
}
}