Pick the fix
View controllers push each other directly, so the same screen can't be reused in another flow. Fix?
Hint 1 of 1
Who should decide what comes next?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Add a coordinator that creates screens and handles their callbacks to decide what to show next
Correct. Screens no longer know about each other.
Why not the others?
- B Use more storyboard segues. Segues still hard-code the next screen.
- C Use one base view controller with navigation helpers. Navigation is still decided inside screens.
- D Post notifications to trigger navigation. Global, untyped and hard to follow.