Write a method with argument in ios [duplicate]
问题 This question already has answers here : Pass a NSDictionary as parameter to UITapGestureRecognizer (3 answers) Closed 4 years ago . I am newbie too ios and objective c,I know my question is very simple but i found not solution do asked,I am having a method for a static value,now i want to make it dynamic by passing value to that method,So can anybuddy please tell me how to write method with parameter and how to call it.my code is as below: -(void)phoneNumberLabelTap { NSURL *phoneUrl =