I'd like to know if there's any difference between pushing and poping a UIViewController.
Thanks,
EGB
I'd like to know if there's any difference between pushing and poping a UIViewController.
Thanks,
EGB
They do opposite things.
You push
to add it to the stack of visible UIViewController
s, and pop
it to remove it.
The terminology comes from the stack
data-structure. The idea is that you "push", or place, objects on the top of the stack, and each object can't be removed until all the objects above it have been removed ("popped").
You can read more about stacks here.