iOS 8.3和更高版本,Facebook共享文本未插入 [英] iOS 8.3 and later, Facebook share text not inserted

查看:97
本文介绍了iOS 8.3和更高版本,Facebook共享文本未插入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到iOS 8.3后,文本未插入到共享对话框中

After updating to iOS 8.3 the text is not inserted into the share dialog

我使用标准

UIActivityViewController *vc = [[UIActivityViewController alloc] initWithActivityItems:items applicationActivities:applicationActivities];
NSArray *excludeActivities = @[UIActivityTypeAssignToContact];
vc.excludedActivityTypes = excludeActivities;

if (IsUserInterfaceIdiomPad) {
    vc.popoverPresentationController.sourceView = self.navigationController.view;
}
[self.navigationController presentViewController:vc animated:YES completion:^{

}];

其中项目是NSString和NSURL

where the items are a NSString and an NSURL

推荐答案

看起来,Facebook不想让应用程序预传播文本的分享对话框:(

Looks like Facebook doesn't want the app to pre-propagate the share dialog with text anymore :(

不需要对iOS版本进行任何操作,而是使用Facebook应用程序中的内置操作(因为共享过程以某种方式与FB应用程序相互关联)

It doesn't have to do anything with the iOS version, but with the build in Facebook App (as the share processes is somehow interlinked with the FB app)

这是愚蠢的在Android上,你不能做到这一点(它被禁用了很久以前)我希望Facebook重新考虑这是因为它将导致较少的股票,一些可能愿意放弃共享选项

It's stupid and on Android you couldn't do it either (it was disabled longer ago) i hope Facebook reconsiders this as it will lead to fewer shares and some might be willing to drop the share option

注意:如果用户没有安装FB应用程序(他已删除它),则文本将被添加到状态,但我想只有少量的用户,但也许仍然向共享项

Note: if the user doesn't have the FB app installed (he removed it), than the text is added to the status, but i guess that only a small amount of users, but maybe a good reason to still supply text to the share items

这篇关于iOS 8.3和更高版本,Facebook共享文本未插入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆