I want to pass a NSArray as a parameter to UITapGestureRecognizer and access it in downloadOptionPressed method. How can I do this ?
NSArray
UITapGestureRecognizer
The
You can use associated object to pass argument along with tap gesture instance.
You can check this objective-c-associated-objects
It will solve your problem.