不过,Facebook上的帖子上写着“.通过iOS设备”,我希望它能说出实际应用程序的名称。我做错了什么?
这是我的代码:
- (IBAction)doFacebook:(id)sender{
//check to see if facebook account exists
if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook]) {
// Create the view controller defined in the .h file
fb=[SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
// make the default string
NSString *FBString= [NSString
stringWithFormat:@"%@\r via #GibberishGenerator", gibText.text];
[fb setInitialText:FBString];
// show the controller
[self presentViewController:fb animated:YES completion:nil];
}
}发布于 2013-08-18 09:46:55
iOS 6普通股 iOS 6的股票表是苹果Facebook整合的一个特点。 缺点 默认情况下,共享表中的帖子被归因于iOS;联系Facebook以正确配置应用程序的属性。
https://stackoverflow.com/questions/16422970
复制相似问题