我刚刚实现了发布到 Facebook 的功能。我想像这样将高分发布到 Facebook。“我在游戏上的新高分是”高分“尝试击败它”但是我如何输入第二段文字?由于尝试添加“尝试击败它”,它不起作用这是我的代码
NSString *nssHighscore = [NSString stringWithFormat:@"%i", highscore];
mySLComposerSheet = [[SLComposeViewController alloc] init];
mySLComposerSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[mySLComposerSheet setInitialText:@"My New Highscore is" nssHighscore @"Try Beat it"];
[self presentViewController:mySLComposerSheet animated:YES completion:nil];