IOS - how to make default Back button invoke unwind segue -


Is it possible to open the default navigation 'back' button to cgi? I know that it is possible by dragging a standard button on the green out icon, but the default navigation 'back' button is not visible on the storyboard.

It seems that after adding a new contact to the iPhone's Contacts app, it takes you to the screen displaying all information entered, here & # 39; & lt; Back button 'button appears to display a unique segue for the contact list screen. Anyone know how this is done?

I think I can add a standard button and start opening it, but in '& lt;' There is no symbol which I would like to do.

As I know there is no way to set up another task for it, the default back button I spent a lot of time doing this You can create a custom button that looks like the default but the default button can be changed to the next iOS version. To open the operation, you can simply edit a viewControllers array of your navigation controller. For example, in your navigation controller's stack you have 4 view controllers and you want to go back from 4 to 2. Paste it into viewDidLoad: 4 Controller's Method:

  NSMutableArray * viewControllers = [self.navigationController.viewControllers mutableCopy]; [Remove ViewControllers ObjectEightman: 2]; Self.navigationController.viewControllers = viewControllers;    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -