This is my first iOS app. and I'm struggling to find documentation or examples on the best approach for the following scenario :
Three controllers - Terms, User, Submit.
Submit is the root controller but to be able to Submit a user must first accept terms (Terms controller) and complete their user record (User controller).
I'd tried the following approach but it's not working.
Submit is set as the Root controller. I've got a helper method in Submit which checks to see if the user has accepted terms and conditions and if not PushViewController(Terms). If the terms are accepted it then checks if the User record is complete and if not PushViewController(User). The helper method is called in ViewWillAppear.
Both the Terms and the User controller use poptorootviewcontroller to return back to the Submit view.
This approach is working intially, re-directing to the Terms controller and returning correctly but then fails to re-direct to the User controller.
Sorry for the long explanation but is the above approach feasible? If anyone can suggest another approach I would be grateful.