The FBLoginViewDelegate
protocol defines the methods used to receive event
notifications from FBLoginView
objects.
Extends Protocol: | NSObject |
Declared in: | FBLoginView.h |
loginView:handleError:
Tells the delegate that there is a communication or authorization error.
Parameter | Beschreibung |
---|---|
loginView | The login view that transitioned its view mode |
error | An error object containing details of the error. |
- (void)
loginView: | (FBLoginView *)loginView |
handleError: | (NSError *)error; |
See https://developers.facebook.com/docs/technical-guides/iossdk/errors/ for error handling best practices.
FBLoginView.h
loginViewFetchedUserInfo:user:
Tells the delegate that the view is has now fetched user info
Parameter | Beschreibung |
---|---|
loginView | The login view that transitioned its view mode |
user | The user info object describing the logged in user |
- (void)
loginViewFetchedUserInfo: | (FBLoginView *)loginView |
user: | (id<FBGraphUser>)user; |
FBLoginView.h
loginViewShowingLoggedInUser:
Tells the delegate that the view is now in logged in mode
Parameter | Beschreibung |
---|---|
loginView | The login view that transitioned its view mode |
- (void)
loginViewShowingLoggedInUser:(FBLoginView *)loginView;
FBLoginView.h
loginViewShowingLoggedOutUser:
Tells the delegate that the view is now in logged out mode
Parameter | Beschreibung |
---|---|
loginView | The login view that transitioned its view mode |
- (void)
loginViewShowingLoggedOutUser:(FBLoginView *)loginView;
FBLoginView.h