AI-generated Key Takeaways
- 
          IMALinkOpenerDelegate signals when a link has been opened or closed. 
- 
          For external applications like Mobile Safari or deep links, the delegate is only notified before the link opens. 
- 
          The protocol includes methods to indicate when an external application is about to open, and when an in-app browser or app store is about to open, has opened, is about to close, and has finished closing. 
IMALinkOpenerDelegate
@protocol IMALinkOpenerDelegate <NSObject>Signals that a link has been opened/closed. For an external app (Mobile Safari/App deep link), the delegate is only notified before opening.
- 
                  
                  Called when Safari or app deep link is about to be opened. DeclarationSwift optional func linkOpenerWillOpenExternalApplication(_ linkOpener: NSObject)Objective-C - (void)linkOpenerWillOpenExternalApplication:(nonnull NSObject *)linkOpener;ParameterslinkOpenerthe receiving object 
- 
                  
                  Called before in-app browser/app store opens. DeclarationSwift optional func linkOpenerWillOpen(inAppLink linkOpener: NSObject)Objective-C - (void)linkOpenerWillOpenInAppLink:(nonnull NSObject *)linkOpener;ParameterslinkOpenerthe receiving object. 
- 
                  
                  Called when the in app browser/app-store is shown on the screen. DeclarationSwift optional func linkOpenerDidOpen(inAppLink linkOpener: NSObject)Objective-C - (void)linkOpenerDidOpenInAppLink:(nonnull NSObject *)linkOpener;ParameterslinkOpenerthe receiving object 
- 
                  
                  Called when in-app browser/app-store is about to close. DeclarationSwift optional func linkOpenerWillClose(inAppLink linkOpener: NSObject)Objective-C - (void)linkOpenerWillCloseInAppLink:(nonnull NSObject *)linkOpener;ParameterslinkOpenerthe receiving object 
- 
                  
                  Called when in-app browser/app-store finishes closing. DeclarationSwift optional func linkOpenerDidClose(inAppLink linkOpener: NSObject)Objective-C - (void)linkOpenerDidCloseInAppLink:(nonnull NSObject *)linkOpener;ParameterslinkOpenerthe receiving object