UADeepLinkDelegate
@protocol UADeepLinkDelegate <NSObject>
Protocol to be implemented by deep link handlers.
-
Called when a deep link has been triggered from Airship. If implemented, the delegate is responsible for processing the provided url.
Declaration
Objective-C
- (void)receivedDeepLink:(NSURL *_Nonnull)url completionHandler:(void (^_Nonnull)(void))completionHandler;
Swift
optional func receivedDeepLink(_ url: URL, completionHandler: @escaping () -> Void)
Parameters
url
The url for the deep link.
completionHandler
The completion handler to execute when the deep link processing is complete.