FBFriendPickerDelegate
이 클래스는 더 이상 최신 버전의 SDK에서 사용할 수 없습니다.
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

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
인스턴스 메서드
friendPickerViewController:handleError:

Tells the delegate that there is a communication error.

매개변수설명
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;
friendPickerViewController:shouldIncludeUser:

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

매개변수설명
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.

friendPickerViewControllerDataDidChange:

Tells the delegate that data has been loaded.

매개변수설명
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.

friendPickerViewControllerSelectionDidChange:

Tells the delegate that the selection has changed.

매개변수설명
friendPicker

The friend picker view controller whose selection changed.

- (void) friendPickerViewControllerSelectionDidChange:(FBFriendPickerViewController *)friendPicker;