Beginning choose to use pop to the root controller, and then one by one, the controller needs to push. But found not push the controller display view. Code is as follows:
/ / Root controller rootCon. The following code is
topmost in navigation controller operation[Self.navigationController popToRootViewControllerAnimated: YES];
[Self.navigationController pushViewController: addressCon animated: YES];
Later wrote a demo, decision process push operation in rootCon of viewdidappear inside. Although there is a process of transition of the screen, but can still achieve the requirements. However, when the program is not recovering from back viewdidappear call this method, there is no way in the original program implemented by this method. May I ask, what is the best way you can achieve when you receive a push, you can jump to a specific interface. And the navigation controller in order to keep the program pushed the original logic.
Thank you ・ ・ ・ ・
Reply:
This seems not easy to achieve, should push and push android Apple is not the same as Apple's push Apple's server push is for you.
Reply:
Can think of is to push up according to data app to call the local
Reply:
The pop of yes into no try
No comments:
Post a Comment