UAWKWebViewDelegate

@protocol UAWKWebViewDelegate <WKNavigationDelegate>

WKNavigationDelegate protocol extension to handle uairship://close URL and UAirship.close()

  • Closes the window.

    Declaration

    Objective-C

    - (void)closeWindowAnimated:(BOOL)animated;

    Swift

    optional func closeWindow(animated: Bool)

    Parameters

    animated

    Indicates whether to animate the transition.