UIActivityViewController doesn't show FB and Twitter on iOS 7

后端 未结 2 934
名媛妹妹
名媛妹妹 2021-02-12 18:38

I am trying to share some items using UIActivityViewController. On iOS 6 it works fine. But when I test it on iOS 7 only mail icon shows up. In doubt that my SDK was too old I d

2条回答
  •  野的像风
    2021-02-12 18:52

    They won't show when you don't have Twitter and Facebook accounts set up in settings. Facebook or twitter app are not enough - you should have explicitly set accounts.
    Maybe it's not really cool, (user may want to share something on fb or twitter and perform login for it) but Apple considered these activities should work so in iOS 7.

提交回复
热议问题