Alert icon indicating copy to clipboard operation
Alert copied to clipboard

对cancel按钮事情处理的意见

Open sander90 opened this issue 9 years ago • 0 comments

if (hasCancelBtn == YES ){ [button addTarget:self action:@selector(cancalClick:) forControlEvents:UIControlEventTouchUpInside]; }else{ [button addTarget:self action:@selector(buttonClick:) forControlEvents:UIControlEventTouchUpInside]; } 处理的事情,只要有cancel的按钮,所有的按钮都执行的是cancelclick事件,导致了,点击了不是cancel的按钮都会执行cancel事件

sander90 avatar Aug 01 '16 06:08 sander90