发布字符串到Facebook时如何换行?

时间:2011-09-08 02:47:02

标签: ios4 facebook-graph-api

我编码发布到Facebook Facebook如下:

- (void)publishStream{
NSLog(@"body %@",bodyMeaning);
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               @"SAOL Dictionary",@"message",
                               @"http://developers.facebook.com/docs/reference/dialogs/", @"link",
                               @"http://bit.ly/riDGff", @"picture",
                               keyword, @"name",
                                @"Facebook caption example." , @"caption",
                                 facebookBody, @"description",
                               nil];

NSLog(@"%@",bodyMeaning);
[_facebook requestWithGraphPath:@"me/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

}

当它出现在墙上时: Facebook字幕示例
但我想表现为: Facebook
                         标题
                         示例

(新行格式)
任何人都知道这个请帮帮我!

谢谢大家。

1 个答案:

答案 0 :(得分:3)

尝试添加

<center></center>

作为新行字符