首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用社交框架通过iOS 6应用程序共享内容,iOS设备说?

使用社交框架通过iOS 6应用程序共享内容,iOS设备说?
EN

Stack Overflow用户
提问于 2013-05-07 15:30:48
回答 1查看 1.3K关注 0票数 1

不过,Facebook上的帖子上写着“.通过iOS设备”,我希望它能说出实际应用程序的名称。我做错了什么?

这是我的代码:

代码语言:javascript
复制
- (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];

    }
}
EN

回答 1

Stack Overflow用户

发布于 2013-08-18 09:46:55

iOS 6普通股 iOS 6的股票表是苹果Facebook整合的一个特点。 缺点 默认情况下,共享表中的帖子被归因于iOS;联系Facebook以正确配置应用程序的属性。

iOS上的共享与分发

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16422970

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档