How to add custom buttons to UIActivityViewController?

后端 未结 1 497
死守一世寂寞
死守一世寂寞 2021-01-05 16:34

I am using UIActivity in ios7. It is working fine with a few lines of code. Now i want to add instagram share button to it. Is there a way to add custom buttons

1条回答
  •  生来不讨喜
    2021-01-05 17:41

    Well you have to create your own custom UIActivity, in your case for Instagram.

    Have a look at this, even if the question is about on how to do it on iOS 6, the solution is exactly the same on iOS 7.

    You can also have a look at this project on github, basically is a collection of custom UIActivity for the most common services Instagram included.

    0 讨论(0)
提交回复
热议问题