I am new to iOS Application development, please help me how can I go from one view controller to another view controller on button click?
view controller
Try this code:
- (IBAction)btnJoin:(id)sender { SecondViewController *ViewController2 = [self.storyboardinstantiateViewControllerWithIdentifier:@"SecondViewController"]; [self.navigationController pushViewController: ViewController2 animated:YES]; }