I tried to subclass UIButton to include an activity indicator, but when i use initWithFrame:(since i\'m subclassing uibutton i\'m not using buttonWithType:) the button doesn
Favour composition over inheritance.
Create a UIView which contains the components you need and add them to your view.