iOS SDK Version

FBSDKAppLink

@interfaceFBSDKAppLink:NSObject
Contains App Link metadata relevant for navigation on this device derived from the HTML at a given URL.
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    -(instancetype)initNS_UNAVAILABLE;
  • Unavailable
    Undocumented

    Declaration

    Objective-C
    +(instancetype)newNS_UNAVAILABLE;
  • Creates a FBSDKAppLink with the given list of FBSDKAppLinkTargets and target URL.
    Generally, this will only be used by implementers of the FBSDKAppLinkResolving protocol, as these implementers will produce App Link metadata for a given URL.

    Declaration

    Objective-C
    +(nonnullinstancetype)appLinkWithSourceURL:(nullableNSURL*)sourceURLtargets:(nonnullNSArray<FBSDKAppLinkTarget*>*)targetswebURL:(nullableNSURL*)webURL;
    Swift
    convenienceinit(sourceURL:URL?,targets:[AppLinkTarget],webURL:URL?)

    Parameters

    sourceURL
    the URL from which this App Link is derived
    targets
    an ordered list of FBSDKAppLinkTargets for this platform derived from App Link metadata.
    webURL
    the fallback web URL, if any, for the app link.
  • The URL from which this FBSDKAppLink was derived

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSURL*sourceURL;
    Swift
    varsourceURL:URL?{get}
  • The ordered list of targets applicable to this platform that will be used for navigation.

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSArray<FBSDKAppLinkTarget*>*_Nonnulltargets;
    Swift
    vartargets:[AppLinkTarget]{get}
  • The fallback web URL to use if no targets are installed on this device.

    Declaration

    Objective-C
    @property(nonatomic,strong,readonly,nullable)NSURL*webURL;
    Swift
    varwebURL:URL?{get}