Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. let storyboard = UIStoryboard(name: "Main", bundle: nil)
  2. //let vc = self
  3. let vc = storyboard.instantiateViewController(withIdentifier: "loginView") as! RegistrationViewController
  4. self.present(vc, animated: true, completion: nil)
  5.  
  6. 2017-07-24 16:39:48.135 XXX [8689:286531] Warning: Attempt to present <XXX.RegistrationViewController: 0x7f8246206280> on <XXX.LaunchAppCheck: 0x7f8243d06bd0> whose view is not in the window hierarchy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement