FBSDKSharePhoto
@interfaceFBSDKSharePhoto:NSObject<NSSecureCoding,NSCopying,NSObject,FBSDKShareMedia,FBSDKSharingValidation>
A photo for sharing.
@interfaceFBSDKSharePhoto:NSObject<NSSecureCoding,NSCopying,NSObject,FBSDKShareMedia,FBSDKSharingValidation>
+(nonnullinstancetype)photoWithImage:(nonnullUIImage*)imageuserGenerated:(BOOL)userGenerated;
convenienceinit(image:UIImage,userGenerated:Bool)
photoWithImage:userGenerated:
instead.+(nonnullinstancetype)photoWithImageURL:(nonnullNSURL*)imageURLuserGenerated:(BOOL)userGenerated;
convenienceinit(imageURL:URL,userGenerated:Bool)
+(nonnullinstancetype)photoWithPhotoAsset:(nonnullPHAsset*)photoAssetuserGenerated:(BOOL)userGenerated;
convenienceinit(photoAsset:PHAsset,userGenerated:Bool)
@property(nonatomic,strong,readwrite,nullable)UIImage*image;
varimage:UIImage?{getset}
@property(nonatomic,copy,readwrite,nullable)NSURL*imageURL;
varimageURL:URL?{getset}
@property(nonatomic,copy,readwrite,nullable)PHAsset*photoAsset;
@NSCopyingvarphotoAsset:PHAsset?{getset}
@property(nonatomic,assign,unsafe_unretained,readwrite,getter=isUserGenerated)BOOLuserGenerated;
varisUserGenerated:Bool{getset}
@property(nonatomic,copy,readwrite,nullable)NSString*caption;
varcaption:String?{getset}
-(BOOL)isEqualToSharePhoto:(nonnullFBSDKSharePhoto*)photo;
funcisEqual(tophoto:SharePhoto)->Bool