The only issue I can think of is that while the button maybe connected to searchViewController, - (IBAction)nextButton:(id)sender may not be assigned to the button. Try this in searchViewController: First, in its header file, add nextButtonOutlet as an IBOutlet. Then in the .m file, write
[self.nextButtonOutlet addTarget:self action:@selector(nextButton:) forControlEvents:UIControlEventTouchUpInside];
See if this works.
Edit: write that line of code in viewDidLoad method.