IMAWebOpenerDelegate

@protocol IMAWebOpenerDelegate <NSObject>

Signals that a internal or external web browser has been opened or closed. For an external browser (Mobile Safari), the delegate is only notified before opening.

  • Called when Safari is about to be opened.

    Declaration

    Swift

    optional func webOpenerWillOpenExternalBrowser(_ webOpener: NSObject!)

    Objective-C

    - (void)webOpenerWillOpenExternalBrowser:(NSObject *)webOpener;

    Parameters

    webOpener

    the receiving object

  • Called before in-app browser opens.

    Declaration

    Swift

    optional func webOpenerWillOpen(inAppBrowser webOpener: NSObject!)

    Objective-C

    - (void)webOpenerWillOpenInAppBrowser:(NSObject *)webOpener;

    Parameters

    webOpener

    the receiving object

  • Called when the in app browser is shown on the screen.

    Declaration

    Swift

    optional func webOpenerDidOpen(inAppBrowser webOpener: NSObject!)

    Objective-C

    - (void)webOpenerDidOpenInAppBrowser:(NSObject *)webOpener;

    Parameters

    webOpener

    the receiving object

  • Called when in-app browser is about to close.

    Declaration

    Swift

    optional func webOpenerWillClose(inAppBrowser webOpener: NSObject!)

    Objective-C

    - (void)webOpenerWillCloseInAppBrowser:(NSObject *)webOpener;

    Parameters

    webOpener

    the receiving object

  • Called when in-app browser finishes closing.

    Declaration

    Swift

    optional func webOpenerDidClose(inAppBrowser webOpener: NSObject!)

    Objective-C

    - (void)webOpenerDidCloseInAppBrowser:(NSObject *)webOpener;

    Parameters

    webOpener

    the receiving object