Having Segue navigated to nth ViewController
(all separate ones: not navigation/tabbed) How do I get to the first one from the last using Xcode 8, iOS 10, Swift
?
Asked
Active
Viewed 45 times
1

demogorgon
- 474
- 4
- 20

S. Dee
- 11
- 3
-
So you, want to go from _ViewController A_ to _ViewController C_ without passing by _ViewController B_ ? is it like that? Can you clarify that in your question, maybe a little diagram could help. – pconcepcion Aug 13 '17 at 22:57
-
I use CTRL+Drag Segue starting from VCA -> VCB ->...VC9. Now when I am done at VC9, I want to return to VCA (almost as if the app is restarting). Think like registration Kiosk. When one user is done with his/her registration the app returns to first one. – S. Dee Aug 14 '17 at 00:18
-
just a sidetone: All my view controllers have some background video playing on viewDidLoad() – S. Dee Aug 14 '17 at 00:19
-
Maybe window.rootViewcontroller can help you. Try this: https://stackoverflow.com/questions/15774003/changing-root-view-controller-of-a-ios-window – Hieu Dinh Aug 14 '17 at 02:31