且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Facebook SLComposeViewController URL显示在正文,如果URL和图像存在

更新时间:2022-12-05 23:40:00

最后,我放弃了 SLComposeViewController (以及 FBNativeDialogs )。他们提供了一个很好的综合感觉,但由于我的帖子总是包括照片和URL,这真的不起作用。除此之外,这些帖子没有被正确归因于我的应用程序。

In the end, I've given up on the SLComposeViewController (as well as the FBNativeDialogs). They present a nice, integrated feel, but given that my posts invariably include both photo and URL, this really doesn't work. On top of that, the posts were not correctly attributed as being from my app.

所以,最后我写了自己的用户界面,并使用了Facebook SDK 3.1 FBRequestConnection here 所述。我认为这是一个有点愚蠢,我们都必须制作自己的UI,因为本机UI的弱点,但它是什么。

So, in the end, I've written my own user interface and use the the Facebook SDK 3.1 FBRequestConnection as outlined here. I think it's a little silly that we all have to make our own UI because the weaknesses in the native UI, but it is what it is.