A view to display a profile picture.
Superclass: | UIView |
Declared in: | FBSDKProfilePictureView.h |
pictureMode
The mode for the receiver to determine the aspect ratio of the source image.
@property (nonatomic,
assign) FBSDKProfilePictureMode pictureMode;
FBSDKProfilePictureView.h
profileID
The profile ID to show the picture for.
@property (nonatomic,
copy) NSString *profileID;
FBSDKProfilePictureView.h
setNeedsImageUpdate
Explicitly marks the receiver as needing to update the image.
- (void)
setNeedsImageUpdate;
This method is called whenever any properties that affect the source image are modified, but this can also be used to trigger a manual update of the image if it needs to be re-downloaded.
FBSDKProfilePictureView.h
FBSDKProfilePictureMode
The original picture's aspect ratio will be used for the source image in the view.
typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { /*! */ FBSDKProfilePictureModeSquare, /*! */ FBSDKProfilePictureModeNormal, };
Enum
FBSDKProfilePictureView.h
NS_ENUM
The original picture's aspect ratio will be used for the source image in the view.
typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) { /*! */ FBSDKProfilePictureModeSquare, /*! */ FBSDKProfilePictureModeNormal, };
Enum
FBSDKProfilePictureView.h