We have a navigation controller as our rootcontroller, which then goes to a viewcontroller with a spinner on it. That controller handles the call to see if the user is logged in or not. It is connected to two different controllers. If they are already logged in, it goes to the mainViewController. If they haven't logged in, it goes to the loginViewController. The loginViewController will loop around to the mainViewController on success.
I am trying to implement this method to my app. My app only allows user to login through social network. In this case, let's say Facebook. How can I check if the user has logged in before or not?
Thanks!