FBPeoplePickerViewController
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

The FBPeoplePickerViewController class is an abstract controller object that manages the user interface for displaying and selecting people.

Discussion:

When the FBPeoplePickerViewController view loads it creates a UITableView object where the people will be displayed. You can access this view through the tableView property. The people display can be sorted by first name or last name. People's names can be displayed with the first name first or the last name first.

The delegate property may be set to an object that conforms to the FBGraphObjectPickerDelegate protocol, as defined by FBGraphObjectPickerViewController. The graph object passed to the delegate conforms to the FBGraphPerson protocol.

Inherits from:FBGraphObjectPickerViewController
Declared in:FBPeoplePickerViewController.h
ทรัพย์สิน
allowsMultipleSelection

A Boolean value that specifies whether multi-select is enabled.

@property (nonatomic) BOOL allowsMultipleSelection;
ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
displayOrdering

The order in which people's names are displayed.

@property (nonatomic) FBFriendDisplayOrdering displayOrdering;
ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
selection

The list of people that are currently selected in the veiw. The items in the array are FBGraphPerson objects.

@property (nonatomic, copy, readonly) NSArray *selection;
ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
sortOrdering

The order in which people are sorted in the display.

@property (nonatomic) FBFriendSortOrdering sortOrdering;
ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
userID

The profile ID of the user whose 'user_friends' permission is being used.

@property (nonatomic, copy) NSString *userID;
ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
Typedefs
NS_ENUM

Indicates the order in which friends should be listed in the friend picker.

typedef NS_ENUM(NSUInteger, FBFriendSortOrdering) {
FBFriendSortByFirstName = 0,
FBFriendSortByLastName
};
ค่าคงตัวคำอธิบาย
FBFriendSortByFirstName

Sort friends by first, middle, last names.

FBFriendSortByLastName

Sort friends by last, first, middle names.

Discussion:

(NSUInteger, FBFriendSortOrdering)

ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h
NS_ENUM

Indicates whether friends should be displayed first-name-first or last-name-first.

typedef NS_ENUM(NSUInteger, FBFriendDisplayOrdering) {
FBFriendDisplayByFirstName = 0,
FBFriendDisplayByLastName,
};
ค่าคงตัวคำอธิบาย
FBFriendDisplayByFirstName

Display friends as First Middle Last.

FBFriendDisplayByLastName

Display friends as Last First Middle.

Discussion:

(NSUInteger, FBFriendDisplayOrdering)

ให้คำรับรองไว้ใน: FBPeoplePickerViewController.h