Vote count:
0
I have some logic that requires a different view to appear once a button is pressed. This code bellow work works from the appDelegate but not in my ViewController Implementation. Is there a way to change the view controller storyboard from the current ViewController Implementation?
self.window.rootViewController =
(UIViewController *)[[UIStoryboard storyboardWithName:@"Main" bundle: nil] instantiateViewControllerWithIdentifier:@"homeView"];
asked 45 secs ago
Can I change the rootViewController to a different storyboard view inside ViewController?
Aucun commentaire:
Enregistrer un commentaire