Skip to main content

Posts

Showing posts with the label uistoryboard

Launch a controller from within an active story board

I have a pretty basic app flow that is quite linear, so it fits in with the storyboard quite well. However there is one requirement that I am not sure on how to achieve. Structurally the app flow looks like this. Table View Controller (Master) Static Table View Controller (Detail, bound to a core data model) Launches a modal web view. (uses a delegate for callbacks) Now the requirement is that one of the options on the detail is to set the item as "default". Then if one were to suspend the app and go to the settings app and enable an "auto launch" option, then when resuming the app it should launch the modal web view directly, when dismissed the user is to be returned to the Table View Controller in #1. Initially I was going to terminate the app if the auto launch was enabled, however I have since read that this practice is frowned upon. So my confusion is, the user could be at any stage through the storyboard, then suspends the app, enables the