I need to add a custom button in the UIActivityViewController in ios6, and get its IBAction method on taping the Button. Is this possible?
Asked
Active
Viewed 367 times
2
-
Do u mean add a UIActivity? – dhcdht Sep 09 '13 at 07:20
-
I just need the IBAction of a button which can be added with the UIActivityViewController. – Guru Sep 09 '13 at 07:22
-
https://github.com/jdg/MBProgressHUD and also http://stackoverflow.com/questions/639672/how-can-i-create-a-button-with-a-uiactivityindicator-in-my-navigation-bar-with-t – iPatel Sep 09 '13 at 07:22
-
@Akhildas UIActivity is the button in UIActivityViewController, just like the facebook and twitter. You may want this http://stackoverflow.com/questions/12751891/problems-adding-custom-activity-to-uiactivitycontroller – dhcdht Sep 09 '13 at 07:35
1 Answers
0
I could give you a workaround. First make a UIView
. Then add the UIActivityIndicator
on the View alongwith the UIButton
in it depending on the frame you choose. In this way you would get the IBAction
of the UIButton
too. Hope this helps.

IronManGill
- 7,222
- 2
- 31
- 52