FBPlacePickerDelegate
Diese Klasse ist in der neuesten Version des SDKs nicht mehr verfügbar.
Es ist eine neuere Version dieser Klasse verfügbar. Sieh sie dir an mit der aktuellsten Version.

The FBPlacePickerDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the FBPlacePickerViewController view.

Extends Protocol:FBViewControllerDelegate
Declared in:FBPlacePickerViewController.h
Instance-Methoden
placePickerViewController:handleError:

Called if there is a communication error.

ParameterBeschreibung
placePicker

The place picker view controller that encountered the error.

error

An error object containing details of the error.

- (void)
placePickerViewController: (FBPlacePickerViewController *)placePicker
handleError: (NSError *)error;
placePickerViewController:shouldIncludePlace:

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

ParameterBeschreibung
placePicker

The place picker view controller that is requesting this information.

place

An object representing the place.

- (BOOL)
placePickerViewController: (FBPlacePickerViewController *)placePicker
shouldIncludePlace: (id<FBGraphPlace>)place;
Discussion:

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

placePickerViewControllerDataDidChange:

Tells the delegate that data has been loaded.

ParameterBeschreibung
placePicker

The place picker view controller whose data changed.

- (void) placePickerViewControllerDataDidChange:(FBPlacePickerViewController *)placePicker;
Discussion:

The FBPlacePickerViewController 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.

placePickerViewControllerSelectionDidChange:

Tells the delegate that the selection has changed.

ParameterBeschreibung
placePicker

The place picker view controller whose selection changed.

- (void) placePickerViewControllerSelectionDidChange:(FBPlacePickerViewController *)placePicker;