UADeepLinkDelegate

Objective-C

@protocol UADeepLinkDelegate <NSObject>

Swift

protocol UADeepLinkDelegate : NSObjectProtocol

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:(nonnull NSURL *)url
           completionHandler:(nonnull void (^)(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.