FBLoginViewDelegate
Lớp này không còn khả dụng trong phiên bản gần đây nhất của SDK.
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

The FBLoginViewDelegate protocol defines the methods used to receive event notifications from FBLoginView objects.

Extends Protocol:NSObject
Declared in:FBLoginView.h
Phương thức thực thể
loginView:handleError:

Tells the delegate that there is a communication or authorization error.

Thông sốMô tả
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.

Đã tuyên bố trong: FBLoginView.h
loginViewFetchedUserInfo:user:

Tells the delegate that the view is has now fetched user info

Thông sốMô tả
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;
Đã tuyên bố trong: FBLoginView.h
loginViewShowingLoggedInUser:

Tells the delegate that the view is now in logged in mode

Thông sốMô tả
loginView

The login view that transitioned its view mode

- (void) loginViewShowingLoggedInUser:(FBLoginView *)loginView;
Đã tuyên bố trong: FBLoginView.h
loginViewShowingLoggedOutUser:

Tells the delegate that the view is now in logged out mode

Thông sốMô tả
loginView

The login view that transitioned its view mode

- (void) loginViewShowingLoggedOutUser:(FBLoginView *)loginView;
Đã tuyên bố trong: FBLoginView.h