FBSDKProfilePictureView

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;
profileID

The profile ID to show the picture for.

@property (nonatomic, copy) NSString *profileID;
인스턴스 메서드
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.

Typedef
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