UANativeBridge

Objective-C


@interface UANativeBridge : NSObject <WKNavigationDelegate>

Swift

class UANativeBridge : NSObject, WKNavigationDelegate

The native bridge will automatically loads the Airship JavaScript environment into whitlelisted sites. The native bridge must be assigned as the navigation delegate on a WKWebView in order to function.

Native Bridge Properties

Native Bridge Methods

  • Factory method.

    Declaration

    Objective-C

    + (nonnull instancetype)nativeBridge;

    Swift

    convenience init()

    Return Value

    A native bridge instance.