DO NOT recognize the name of the storyboard swift 4

0

I'm trying to move to another viewcontroller by modal, with this procedure:

let storyboard = UIStoryboard(name: "Main", bundle: nil)
let controller = storyboard.instantiateViewController(withIdentifier: 
"RadiosPVSViewController")
self.present(controller, animated: true, completion: nil)

The problem is that it throws me an error that does not recognize the name of the StoryBoard and is correct. (Main.storyboard).

Thanks for the help.

    
asked by Rahamu 03.12.2018 в 02:09
source

0 answers