A model for app invite.
Conforms to: | FBSDKCopying, NSSecureCoding |
Inherits from: | NSObject |
Declared in: | FBSDKAppInviteContent.h |
appLinkURL
An app link target that will be used as a target when the user accept the invite.
@property (nonatomic,
copy) NSURL *appLinkURL;
This is a requirement.
FBSDKAppInviteContent.h
previewImageURL
A URL to a preview image that will be displayed with the app invite
@property (nonatomic,
copy) NSURL *previewImageURL;
This is optional. If you don't include it a fallback image will be used.
FBSDKAppInviteContent.h
initWithAppLinkURL:
Initializes a new instance
Paramètre | Description |
---|---|
appLinkURL | The required URL that will be used as a target when the user accepts the invite. |
- (instancetype)
initWithAppLinkURL: | (NSURL *)appLinkURL |
NS_DESIGNATED_INITIALIZER; |
FBSDKAppInviteContent.h
isEqualToAppInviteContent:
Compares the receiver to another app invite content.
Paramètre | Description |
---|---|
content | The other content |
- (BOOL)
isEqualToAppInviteContent:(FBSDKAppInviteContent *)content;
FBSDKAppInviteContent.h