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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -