I have a UIButton
as follows :
[btnMailAddress addTarget:self action:@selector(showMap:) forControlEvents:UIControlEventTouchDown];
My question is, how can I send multiple parameters in showMap method?
Just googling selector multiple parameters gives many relevant answers.
1st result - Calling selectors with multiple arguments
You can't. If you need to call a method with multiple parameters, you'll need to first redirect it through an "IBAction"-type method (i.e., -(void)action:(id)sender ).