UIActivity with no settings for Facebook

2020-08-17 07:05发布

问题:

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!