tags:

views:

40

answers:

2

Can we add activity indicator as subview to UIButton?

If yes then plz tell me how to do that?

I used [button addSubview:activityIndicator];

Not working...

A: 

I don't think it's possible to add a view to a button. UIButton have this method because it's inherited from UIVIew. The real question is : why do you want to add an activity indicator on a button and not elsewhere ?

Kick
A: 

did you do [activityIndicator startAnimating]; ALso as u are using it in a tableview just check if the tags are set properly

BK