ios - How do I get the string name of a storyboard? -


i've looked @ following guidance no avail:

how know current storyboard name?

i trying open specific view controller using storyboard remote notification based off of following answer:

present specific view controller in didreceiveremotenotification swift

    let mvc = mainviewcontroller()     let storyboardnamestring = mvc.storyboard. //<-proposed solution? nothing auto complete shows     let storyboard = uistoryboard(name: storyboardnamestring , bundle: nil)      storyboard.instantiateviewcontrollerwithidentifier("some-view-controller") 

i've checked "file inspector", "quick inspector", "identity inspector", "attributes inspector", "size inspector", , "connections inspector" no luck there either.

when selected view controller on storyboard , tried find name of current storyboard able find view's storyboard id, not name of storyboard however.

any solution appreciated, otherwise try find way accomplish task.

my colleague informed me it's name of file without ".storyboard" extension. regards.


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -