FBSDKShareLinkContent オブジェクトを作成し、それを FBSDKShareDialog にフィードしています。ダイアログのデフォルト メッセージを「私のハイスコアは %d です!」のようなものに設定しようとしています。共有自体は機能しており、デフォルトでは空のメッセージがあります。誰でも助けてもらえますか?
ありがとう!
編集:ここに私のコードがあります:
FBSDKShareLinkContent* content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString: @"https://itunes.apple.com/us/app/cylinder-game"];
content.contentTitle = @"Cylinder Game";
content.contentDescription = @"Cylinder Game is endless, rhythm based game with super addictive gameplay";
FBSDKShareDialog* dialog = [[FBSDKShareDialog alloc] init];
[dialog setMode:FBSDKShareDialogModeAutomatic];
[dialog setShareContent:content];
[dialog setDelegate:self];
[dialog setFromViewController:UnityGetGLViewController()];