FBUserSettingsViewController
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

The FBUserSettingsViewController class provides a user interface exposing a user's Facebook-related settings. Currently, this is limited to whether they are logged in or out of Facebook.

Because of the size of some graphics used in this view, its resources are packaged as a separate bundle. In order to use FBUserSettingsViewController, drag the FBUserSettingsViewResources.bundle from the SDK directory into your Xcode project.

Inherits from:FBViewController
Declared in:FBUserSettingsViewController.h
資產
defaultAudience

The default audience to use, if publish permissions are requested at login time.

@property (nonatomic, assign) FBSessionDefaultAudience defaultAudience;
permissions

The permissions to request if the user logs in via this view.

@property (nonatomic, copy) NSArray *permissions __attribute__((deprecated
publishPermissions

The publish permissions to request if the user logs in via this view.

@property (nonatomic, copy) NSArray *publishPermissions;
Discussion:

Note, that a defaultAudience value of FBSessionDefaultAudienceOnlyMe, FBSessionDefaultAudienceEveryone, or FBSessionDefaultAudienceFriends should be set if publish permissions are specified. Additionally, when publish permissions are specified, then read should not be specified.

readPermissions

The read permissions to request if the user logs in via this view.

@property (nonatomic, copy) NSArray *readPermissions;
Discussion:

Note, that if read permissions are specified, then publish permissions should not be specified.