FBSDKProfilePictureView
A more recent version of this class is available. Check out the latest version.

A view to display a profile picture.

Superclass:UIView
Declared in:FBSDKProfilePictureView.h
Properties
pictureMode

The mode for the receiver to determine the aspect ratio of the source image.

@property (nonatomic, assign) FBSDKProfilePictureMode pictureMode;
profileID

The profile ID to show the picture for.

@property (nonatomic, copy) NSString *profileID;
Instance Methods
setNeedsImageUpdate

Explicitly marks the receiver as needing to update the image.

- (void) setNeedsImageUpdate;
Discussion:

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.

Typedefs
FBSDKProfilePictureMode

The original picture's aspect ratio will be used for the source image in the view.

typedef NS_ENUM(NSUInteger, FBSDKProfilePictureMode) {
/*!
*/
FBSDKProfilePictureModeSquare, /*!
*/
FBSDKProfilePictureModeNormal,
};
Discussion:

Enum

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,
};
Discussion:

Enum