I want to pass a variable to a UIButton action, for example
NSString *string=@\"one\"; [downbutton addTarget:self action:@selector(action1:string) forCo
The only way I've found to do this is set an instance variable before calling the action