Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.487 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.487 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.488 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.488 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.489 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.489 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.490 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.490 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.491 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.491 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.492 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.492 LearnEnglish[796:c07] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2013-05-29 10:44:41.494 LearnEnglish[796:c07] Unbalanced calls to begin/end appearance transitions for
ReplyDeleteerror is resolved,navigation is used like below,
for (int s=0; s<[self.answersArray count]; s++) {
if ([[self.clickArray objectAtIndex:s] isEqualToString:[self.answersArray objectAtIndex:s]]) {
count++;
NSLog(@"answer correct");
}
else
{
NSLog(@"answer incorrect");
}
NSLog(@"%d",count);
score=[[ScoreViewController alloc] initWithNibName:@"ScoreViewController" bundle:nil];
[self.navigationController pushViewController:score animated:YES];
// tempString=[NSString stringWithFormat:@"%d",count];
// NSLog(@"%@",tempString);
// [score release];
}
but it should be
for (int s=0; s<[self.answersArray count]; s++) {
if ([[self.clickArray objectAtIndex:s] isEqualToString:[self.answersArray objectAtIndex:s]]) {
count++;
NSLog(@"answer correct");
}
else
{
NSLog(@"answer incorrect");
}
NSLog(@"%d",count);
}
score=[[ScoreViewController alloc] initWithNibName:@"ScoreViewController" bundle:nil];
[self.navigationController pushViewController:score animated:YES];
tempString=[NSString stringWithFormat:@"%d",count];
NSLog(@"%@",tempString);
[score release];
solution is:
navigation controller code will be in outside of the for loop.