UIActivity with no settings for Facebook

早过忘川 提交于 2019-12-06 19:43:36

问题


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!



来源:https://stackoverflow.com/questions/12899142/uiactivity-with-no-settings-for-facebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!