Does anyone know what the new Exit icon is used for when editing storyboards using Xcode 4.5?

I had a hard time following the accepted answer so here is more detail. Given the photo below on view controller C you can “exit” back to any view controller in the segue path. ViewController A you can write: – (IBAction)done:(UIStoryboardSegue *)segue { // Optional place to read data from closing controller } ViewController B … Read more

iOS – Push viewController from code and storyboard

Objective-C: PlaceViewController *newView = [self.storyboard instantiateViewControllerWithIdentifier:@”storyBoardIdentifier”]; [self.navigationController pushViewController:newView animated:YES]; Please do notice below points, your storyboard identifier is correct. The root view have navigation Controller. Swift: let newView = self.storyboard?.instantiateViewController(withIdentifier: “storyBoardIdentifier”) as! PlaceViewController self.navigationController?.pushViewController(newView, animated: true)