A model for app invite.
Conforms to: | FBSDKCopying, NSSecureCoding |
Superclass: | NSObject |
Declared in: | FBSDKAppInviteContent.h |
appInvitePreviewImageURL
A URL to a preview image that will be displayed with the app invite
@property (nonatomic,
copy) NSURL *appInvitePreviewImageURL;
This is optional. If you don't include it a fallback image will be used.
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
@property (nonatomic,
copy) NSURL *previewImageURL __attribute__ ((deprecated("use appInvitePreviewImageURL instead"
FBSDKAppInviteContent.h
promotionCode
Promotional code to be displayed while sending and receiving the invite.
@property (nonatomic,
copy) NSString *promotionCode;
This is optional. This can be between 0 and 10 characters long and can contain alphanumeric characters only. To set a promo code, you need to set promo text.
FBSDKAppInviteContent.h
promotionText
Promotional text to be displayed while sending and receiving the invite.
@property (nonatomic,
copy) NSString *promotionText;
This is optional. This can be between 0 and 80 characters long and can contain alphanumeric and spaces only.
FBSDKAppInviteContent.h
isEqualToAppInviteContent:
Compares the receiver to another app invite content.
Parameter | Description |
---|---|
content | The other content |
- (BOOL)
isEqualToAppInviteContent:(FBSDKAppInviteContent *)content;
FBSDKAppInviteContent.h