I have an iOS application that has two tabs with navigation controllers on them. One of the tabs has a logout button on it. The logout button invokes a function that performs a popToRootViewController
on the navigation controller on the other tab. This will display the following message in the debugger:
Unbalanced calls to begin/end appearance transitions for <UIViewController>.
This message does not appear if I change to the tab that I am trying to clear, and then call popToRootViewController
or if I manually loop through all the view controllers in that navigation controller and call popViewController
. The animated
flag of popToRootViewController
is set to false
in both cases. Is this functionality intended?