Perform Action Simultaneously when touchdown the UIButton
HI... I ha开发者_开发技巧ve a UIButton with some action when i touch down the button the action performed simultaneously.
Any one know plz answer this..
Here is how your can add an action when you press your button down.
But, for me, your question is not clear...
UIButton * myButton = [[UIButton alloc] init];
[myButton addTarget:self action:@selector(doSomeActionMethod) forControlEvents:UIControlEventTouchDown];
精彩评论