2
I’m using Xcode for app development.
In it I use the storyboard
for the canvases. Suppose the structure of canvases is as follows:
I have 5 sequential screens, which one leads to the next, until arriving at the fifth (last) screen. My home screen, set via storyboard is the number 1 screen. For navigation, I have a UINavigationController
.
I would like to know how I can start the app on another screen, so that I do not miss the navigation among the others. For better example: Start on screen 4, but be able to return to screen 3 or follow to screen 5.
Note: The code can be in Swift or Objective-C.
You can put the code you’re using in your main?
– PauloHDSousa
Actually in Appdelegate is the default code, created by Xcode. I did not make any changes
– Gian
I programmed a few years ago with Xcode... there is no initializer that you speak to View that will open?
– PauloHDSousa
@Paulohdsousa When creating and defining the initial Uiviewcontroller via storyboard, it does all this implicitly. There is as I leave without initial controller, and set it in the way when to boot the app, but so I lose the navigation reference to screen 3, due it is not allocated in memory.
– Gian
@Gian http://www.raywenderlich.com/113388/storyboards-tutorial-in-ios-9-part-1 These examples can give you a light
– Gabriel Rodrigues