FBSDKLikeButton
有此級別的更新版本。前往查看 最新版本。

A button to like an object.

Discussion:

Tapping the receiver will invoke an API call to the Facebook app through a fast-app-switch that allows the object to be liked. Upon return to the calling app, the view will update with the new state. If the currentAccessToken has "publish_actions" permission and the object is an Open Graph object, then the like can happen seamlessly without the fast-app-switch.

Conforms to:FBSDKLiking
Inherits from:FBSDKButton
Declared in:FBSDKLikeButton.h
資產
soundEnabled

If YES, a sound is played when the receiver is toggled.

@default YES

@property (nonatomic, assign, getter = isSoundEnabled) BOOL soundEnabled;
宣告於: FBSDKLikeButton.h