Inherits from NSObject
Conforms to BFAppLinkReturnToRefererViewDelegate
Declared in BFAppLinkReturnToRefererController.h

Overview

A controller class that implements default behavior for a BFAppLinkReturnToRefererView, including the ability to display the view above the navigation bar for navigation-bsaed apps.

Properties

delegate

The delegate that will be notified when the user navigates back to the referer.

@property (nonatomic, weak) id<BFAppLinkReturnToRefererControllerDelegate> delegate

Discussion

The delegate that will be notified when the user navigates back to the referer.

Declared In

BFAppLinkReturnToRefererController.h

view

The BFAppLinkReturnToRefererView this controller is controlling.

@property (nonatomic, strong) BFAppLinkReturnToRefererView *view

Discussion

The BFAppLinkReturnToRefererView this controller is controlling.

Declared In

BFAppLinkReturnToRefererController.h

Instance Methods

closeViewAnimated:

Closes the view, possibly animating it.

- (void)closeViewAnimated:(id)animated

Discussion

Closes the view, possibly animating it.

Declared In

BFAppLinkReturnToRefererController.h

init

Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed contained within another UIView (i.e., not displayed above the navigation bar).

- (instancetype)init

Discussion

Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed contained within another UIView (i.e., not displayed above the navigation bar).

Declared In

BFAppLinkReturnToRefererController.h

initForDisplayAboveNavController:

Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed displayed above the navigation bar.

- (instancetype)initForDisplayAboveNavController:(id)navController

Discussion

Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed displayed above the navigation bar.

Declared In

BFAppLinkReturnToRefererController.h

removeFromNavController

Removes the view entirely from the navigation controller it is currently displayed in.

- (void)removeFromNavController

Discussion

Removes the view entirely from the navigation controller it is currently displayed in.

Declared In

BFAppLinkReturnToRefererController.h

showViewForRefererAppLink:

Shows the BFAppLinkReturnToRefererView with the specified referer information. If nil or missing data, the view will not be displayed.

- (void)showViewForRefererAppLink:(id)refererAppLink

Discussion

Shows the BFAppLinkReturnToRefererView with the specified referer information. If nil or missing data, the view will not be displayed.

Declared In

BFAppLinkReturnToRefererController.h

showViewForRefererURL:

Shows the BFAppLinkReturnToRefererView with referer information extracted from the specified URL. If nil or missing referer App Link data, the view will not be displayed.

- (void)showViewForRefererURL:(id)url

Discussion

Shows the BFAppLinkReturnToRefererView with referer information extracted from the specified URL. If nil or missing referer App Link data, the view will not be displayed.

Declared In

BFAppLinkReturnToRefererController.h