| | |
| | | @class FBSDKAppLinkReturnToRefererView; |
| | | @class FBSDKURL; |
| | | |
| | | /*! |
| | | /** |
| | | Protocol that a class can implement in order to be notified when the user has navigated back |
| | | to the referer of an App Link. |
| | | */ |
| | | NS_SWIFT_NAME(AppLinkReturnToRefererViewDelegate) |
| | | @protocol FBSDKAppLinkReturnToRefererViewDelegate <NSObject> |
| | | |
| | | /*! |
| | | /** |
| | | Called when the user has tapped inside the close button. |
| | | */ |
| | | - (void)returnToRefererViewDidTapInsideCloseButton:(FBSDKAppLinkReturnToRefererView *)view |
| | | NS_SWIFT_NAME(returnToRefererViewDidTapInsideCloseButton(_:)); |
| | | |
| | | /*! |
| | | /** |
| | | Called when the user has tapped inside the App Link portion of the view. |
| | | */ |
| | | - (void)returnToRefererViewDidTapInsideLink:(FBSDKAppLinkReturnToRefererView *)view |
| | |
| | | |
| | | @end |
| | | |
| | | /*! |
| | | /** |
| | | Provides a UIView that displays a button allowing users to navigate back to the |
| | | application that launched the App Link currently being handled, if the App Link |
| | | contained referer data. The user can also close the view by clicking a close button |
| | |
| | | NS_SWIFT_NAME(FBAppLinkReturnToRefererView) |
| | | @interface FBSDKAppLinkReturnToRefererView : UIView |
| | | |
| | | /*! |
| | | /** |
| | | The delegate that will be notified when the user navigates back to the referer. |
| | | */ |
| | | @property (nonatomic, weak, nullable) id<FBSDKAppLinkReturnToRefererViewDelegate> delegate; |
| | | |
| | | /*! |
| | | /** |
| | | The color of the text label and close button. |
| | | */ |
| | | @property (nonatomic, strong) UIColor *textColor; |
| | | |
| | | @property (nonatomic, strong) FBSDKAppLink *refererAppLink; |
| | | |
| | | /*! |
| | | /** |
| | | Indicates whether to extend the size of the view to include the current status bar |
| | | size, for use in scenarios where the view might extend under the status bar on iOS 7 and |
| | | above; this property has no effect on earlier versions of iOS. |
| | |
| | | @property (nonatomic, assign) FBSDKIncludeStatusBarInSize includeStatusBarInSize |
| | | NS_SWIFT_NAME(statusBarSizeInclude); |
| | | |
| | | /*! |
| | | /** |
| | | Indicates whether the user has closed the view by clicking the close button. |
| | | */ |
| | | @property (nonatomic, assign, getter=isClosed) BOOL closed; |