If I have a button and I want to animate the default "UI Page Slide" with the same controller, how would I make that happen when the "nextbutton" is clicked? I thought this would work, but it doesn't.
- (IBAction)NextButton:(id)sender
{
[self.navigationController pushViewController:self animated:YES];
NSInteger CurrentQuestionNumber = [QuestionNumber intValue];
NSInteger NewQuestionNumber = CurrentQuestionNumber + 1;
QuestionNumber = [NSString stringWithFormat:@"%d", NewQuestionNumber];
QuestionNumberLabel.text = QuestionNumber;
QuestionLabel.text = [QuestionsList objectForKey:QuestionNumber];
}