图片添加点击方法
2016-07-23 本文已影响19人
哎呦我去叫什么呢
[botton setUserInteractionEnabled:YES];
[self.regBotton addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(bottonAction)]];
[botton setUserInteractionEnabled:YES];
[self.regBotton addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(bottonAction)]];