FBFriendPickerDelegate
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 FBFriendPickerDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the FBFriendPickerViewController view.

The methods of FBFriendPickerDelegate correspond to FBGraphObjectPickerDelegate. If a pair of corresponding methods are implemented, the FBGraphObjectPickerDelegate method is called first.

Extends Protocol:FBGraphObjectPickerDelegate
Declared in:FBFriendPickerViewController.h
Phương thức thực thể
friendPickerViewController:handleError:

Tells the delegate that there is a communication error.

Thông sốMô tả
friendPicker

The friend picker view controller that encountered the error.

error

An error object containing details of the error.

- (void)
friendPickerViewController: (FBFriendPickerViewController *)friendPicker
handleError: (NSError *)error;
Đã tuyên bố trong: FBFriendPickerViewController.h
friendPickerViewController:shouldIncludeUser:

Asks the delegate whether to include a friend in the list.

Thông sốMô tả
friendPicker

The friend picker view controller that is requesting this information.

user

An object representing the friend.

- (BOOL)
friendPickerViewController: (FBFriendPickerViewController *)friendPicker
shouldIncludeUser: (id<FBGraphUser>)user;
Discussion:

This can be used to implement a search bar that filters the friend list.

If -[FBGraphObjectPickerDelegate graphObjectPickerViewController:shouldIncludeGraphObject:] is implemented and returns NO, this method is not called.

Đã tuyên bố trong: FBFriendPickerViewController.h
friendPickerViewControllerDataDidChange:

Tells the delegate that data has been loaded.

Thông sốMô tả
friendPicker

The friend picker view controller whose data changed.

- (void) friendPickerViewControllerDataDidChange:(FBFriendPickerViewController *)friendPicker;
Discussion:

The FBFriendPickerViewController object's tableView property is automatically reloaded when this happens. However, if another table view, for example the UISearchBar is showing data, then it may also need to be reloaded.

Đã tuyên bố trong: FBFriendPickerViewController.h
friendPickerViewControllerSelectionDidChange:

Tells the delegate that the selection has changed.

Thông sốMô tả
friendPicker

The friend picker view controller whose selection changed.

- (void) friendPickerViewControllerSelectionDidChange:(FBFriendPickerViewController *)friendPicker;
Đã tuyên bố trong: FBFriendPickerViewController.h