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
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.