FBLoginViewDelegate
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

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.

参数描述
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;
Discussion:

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

参数描述
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

参数描述
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

参数描述
loginView

The login view that transitioned its view mode

- (void) loginViewShowingLoggedOutUser:(FBLoginView *)loginView;
声明语言: FBLoginView.h