Im having problem to login with Facebook using PFLoginViewController.
Im using the latest Parse SDK. Running on Xcode 6.1.1. Using Interface Builder and Storyboard.
My project uses a TabBarViewController as default ViewController, after Login and Sign up users should be directed to this TabBarViewController. I could implement [self performSegueWithIdentifier...] using the Login and Sign Up option, but not when using Facebook button.
I press the Facebook button, Safari opens, I enter username and password the web redirects to the app again but the Facebook button doesn't stop the loading activity indicator. It doesn't perform the segue to the TabBarViewController. I entered the [PFFacebookUtils initializeFacebook] in the AppDelegate.m
My doubt is what to change in the code and where to configure the Facebook login to perform a segue to my main TabBarController ? Is there anything related with the setup of view hierarchy and rootViewController etc... ?
Thnx and cheers
No need to preform a segue. Call the sign up/sign in view controller on your tab controller views .m file with the documentation parse provides. So essentially add this to your main tab bar controller view and as soon as it loads and there is no current user it will populate the login screen and if there is a valid user it will not populate so need need for segueing or instantiating