-(void)OpenThree:(id)sender; [btn addTarget:self action:@selector(OpenThree:) forControlEvents:UIControlEventTouchUpInside]; [btn setTag:1]; -(void)OpenThree:(id)sender { int selfIndex = [sender tag]; //........ }
-(void)OpenThree:(id)sender; [btn addTarget:self action:@selector(OpenThree:) forControlEvents:UIControlEventTouchUpInside]; [btn setTag:1]; -(void)OpenThree:(id)sender { int selfIndex = [sender tag]; //........ }