开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜