I want to be able to create a UIButton with an oversized responsive area. I know that one way to do that is to override the hitTest method in a subclass, but how do I insta
UIButton buttonWithType: returns a UIButton or a UIRoundedRectButton, depending on the value of the type parameter.
As UIButton doesn't provide an initWithType: method, I believe it would be dangerous to try and override buttonWithType:.
I suggest you subclass UIControl instead. You can then add a button as a subview to your control, and intercept hitTest:withEvent:.