A delegate for FBSDKLoginButton
Extends Protocol: | NSObject |
Declared in: | FBSDKLoginButton.h |
loginButton:didCompleteWithResult:error:
Sent to the delegate when the button was used to login.
Parameter | Description |
---|---|
loginButton | The sender |
result | The results of the login |
error | The error (if any) from the login |
- (void)
loginButton: | (FBSDKLoginButton *)loginButton |
didCompleteWithResult: | (FBSDKLoginManagerLoginResult *)result |
error: | (NSError *)error; |
FBSDKLoginButton.h
loginButtonDidLogOut:
Sent to the delegate when the button was used to logout.
Parameter | Description |
---|---|
loginButton | The button that was clicked. |
- (void)
loginButtonDidLogOut:(FBSDKLoginButton *)loginButton;
FBSDKLoginButton.h
loginButtonWillLogin:
Sent to the delegate when the button is about to login.
Parameter | Description |
---|---|
loginButton | The sender |
- (BOOL)
loginButtonWillLogin:(FBSDKLoginButton *)loginButton;
FBSDKLoginButton.h