【发布时间】:2015-01-06 11:22:29
【问题描述】:
我正在尝试使用以下代码共享图像,
但有时不会出现共享屏幕。
它的发生非常间歇。知道是什么原因造成的吗?
当这种情况发生时,应用程序只会导航到 Facebook 应用程序,而不会显示共享屏幕。
if ([FBDialogs canPresentShareDialogWithParams:params]) {
// Present share dialog
FBAppCall *call = [FBDialogs presentShareDialogWithLink:params.link
name:params.name
caption:params.caption
description:params.linkDescription
picture:params.picture
clientState:nil
handler:^(FBAppCall *call, NSDictionary *results, NSError *error) {
}]; }
【问题讨论】:
-
这似乎是一个类似的问题,stackoverflow.com/questions/17684886/…
-
你确定你是从主线程调用这个吗?
标签: ios iphone facebook facebook-graph-api