Reputation: 4162
why I dont see the addTarget method:
[button addTarget:(id) action:(SEL) forControlEvents:(UIControlEvents)]
on UIButton Class reference document:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIButton_Class/UIButton/UIButton.html
Upvotes: 0
Views: 339
Reputation: 14304
It's an inherited method of UIControl
Upvotes: 4