How to programmatically launch into another viewController if your user is logged in through Facebook

后端 未结 2 2147
傲寒
傲寒 2020-12-22 08:39

Basically I have one class called facebookLogin.swift, the login page, and ViewController.Swift the homepage. I have correctly coded all the Facebook login stuff and it all

2条回答
  •  情歌与酒
    2020-12-22 09:15

    Your code seems ok. You should consider checking Storyboard ID of your ViewController under Identity section in Storyboard design screen. You should give Storyboard ID as "ViewController". Login screen's Storyboard ID should be "facebookLogin" according to your code.

提交回复
热议问题