晚上好!
我想调整我的 FaceBook 共享按钮上的布局和文本,使其显示的内容不仅仅是“共享”
这可能吗?我已经能够调整按钮的框架,但我至少想将“共享”更改为其他内容。或者至少可以用瑞典语分享!
这是我的代码:
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString:@"http://www.google.se"];
content.contentTitle=@"I like google!";
FBSDKShareButton *button = [[FBSDKShareButton alloc] init];
button.shareContent = content;
button.frame = CGRectMake(self.view.center.x, self.view.center.y, 100, 50);
button.center = self.view.center;
[self.view addSubview:button];