UAComponent

Objective-C

@protocol UAComponent <NSObject>

Swift

protocol Component : NSObjectProtocol

Base class for main SDK components.

  • Called to handle uairship:// deep links. The first component that return YES will prevent others from receiving the deep link.

    Declaration

    Objective-C

    - (BOOL)deepLink:(nonnull NSURL *)deepLink;

    Swift

    optional func deepLink(_ deepLink: URL) -> Bool

    Parameters

    deepLink

    The deep link.

    Return Value

    YES is the deep link was handled, otherwise NO.