This object is used to encapsulate state for parameters to share photos, typically with the Facebook Native Share Dialog or Message Dialog
Inherits from: | FBDialogsParams |
Declared in: | FBPhotoParams.h |
dataFailuresFatal
If YES, treats any data failures (e.g. failures when getting data for IDs passed through "friends" or "place") as a fatal error, and will not continue with the status update.
@property (nonatomic,
assign) BOOL dataFailuresFatal;
FBPhotoParams.h
friends
An array of NSStrings or FBGraphUsers to tag in the post. If using NSStrings, the values must represent the IDs of the users to tag.
@property (nonatomic,
copy) NSArray *friends;
FBPhotoParams.h
photos
An array of UIImages representing photos to be shared. Only six or fewer images are supported.
@property (nonatomic,
copy) NSArray *photos;
FBPhotoParams.h
place
An NSString or FBGraphPlace to tag in the status update. If NSString, the value must be the ID of the place to tag.
@property (nonatomic,
copy) id place;
FBPhotoParams.h
initWithPhotos:
Designated initializer.
參數 | 說明 |
---|---|
photos | The array of UIImages |
- (instancetype)
initWithPhotos:(NSArray *)photos;
FBPhotoParams.h