I want touch the UIBarButtonItem in the top right, and push a new viewController. So, the code is:
UIBarButtonItem
UIBarButtonItem *addButton = [[UIBarButtonItem a
Use this code it works for you
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; yourViewController *vc = [mainStoryboard instantiateViewControllerWithIdentifier:@"chosenCountry"]; [self.navigationController pushViewController:vc animated:YES];