FBLoginTooltipViewDelegate
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

The FBLoginTooltipViewDelegate protocol defines the methods used to receive event notifications from FBLoginTooltipView objects.

Extends Protocol:NSObject
Declared in:FBLoginTooltipView.h
執行個體方法
loginTooltipView:shouldAppear:

Asks the delegate if the tooltip view should appear

參數說明
view

The tooltip view.

appIsEligible

The value fetched from the server identifying if the app is eligible for the new login experience.

- (BOOL)
loginTooltipView: (FBLoginTooltipView *)view
shouldAppear: (BOOL)appIsEligible;
Discussion:

Use this method to customize display behavior.

loginTooltipViewWillAppear:

Tells the delegate the tooltip view will appear, specifically after it's been added to the super view but before the fade in animation.

參數說明
view

The tooltip view.

- (void) loginTooltipViewWillAppear:(FBLoginTooltipView *)view;
loginTooltipViewWillNotAppear:

Tells the delegate the tooltip view will not appear (i.e., was not added to the super view).

參數說明
view

The tooltip view.

- (void) loginTooltipViewWillNotAppear:(FBLoginTooltipView *)view;