xcode - storyboard viewcontroller to coded viewcontroller -


is possible connect storyboard viewcontrollers manual code-written viewcontrollers? i'm trying make app that, when internet connection established, see viewcontroller made in storyboard tools given in xcode (like stepper, progress view, , etc) , when there's no internet connection, want access coded viewcontroller doesn't use provided storyboard. how make transition viewcontroller in storyboard 1 not in storyboard? thanks!

update:image depiction of seek find: depiction

i believe wanna show storyboard programmatically?

let storyboard = uistoryboard(name: "main", bundle: nil) let vc = storyboard.instantiateviewcontroller(withidentifier: "viewcontroller") window?.rootviewcontroller = vc 

don't forget add "viewcontroller" identifier viewcontroller in interface builder.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -