[英]Cannot post to Facebook via SLComposeViewController (Social Framework)
I am using SLComposeViewController
for sharing in Facebook. 我正在使用SLComposeViewController
在Facebook中共享。 While I didnt have Facebook installed on the device, the controller was coming up with texts pre filled as expected. 虽然我没有在设备上安装Facebook,但控制器仍在预想中填充文本。 After i installed Facebook, the setPreText
is not showing. 安装setPreText
Facebook后, setPreText
不显示。
Moreover, I cannot post to Facebook. 而且,我无法发布到Facebook。 Twitter is working fine. Twitter工作正常。
My device has iOS8. 我的设备具有iOS8。
A question related to your issue has already been asked here . 与您的问题有关的问题已经在这里提出。 This bug report has more details on why the setInitialText:
does not work. 该错误报告提供了有关setInitialText:
为何不起作用的更多详细信息。 Basically it is against the Facebook platform policy to pre-fill the share sheet. 预先填写股份单基本上违反了Facebook平台政策 。
Pre-fill using the iOS share sheet. 使用iOS共享表进行预填充。 For apps pre-filling using the iOS share sheet we recommend that you either remove all instances of pre-fill from your app and submit an update to Apple's App Store or use Facebook's share dialog for a more seamless experience. 对于使用iOS共享表进行预填充的应用,我们建议您从应用中删除所有预填充实例,然后将更新提交给Apple的App Store,或者使用Facebook的共享对话框来获得更流畅的体验。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.