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?
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.
It's possible with another view controller called OWActivityViewController https://github.com/brantyoung/OWActivityViewController
It works for me!
来源:https://stackoverflow.com/questions/12899142/uiactivity-with-no-settings-for-facebook