Is it possible to show Facebook UIActivity
in UIActivityViewController
if there's no settings for facebook account in default iOS settings? For now if I enter some fb account - I see fb in UIActivityViewController
, if no - not see. Any ideas?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No it's not possible... If Facebook is not set up in Settings > Facebook
, then the UIActivityViewController
will not show Facebook as an option to share.
回答2:
It's possible with another view controller called OWActivityViewController https://github.com/brantyoung/OWActivityViewController
It works for me!