title: UITapGestureRecognizer initWithTarget:action: method to take arguments?
body: <p>I'm using <code>UITapGestureRecognizer</code> because I'm using a <code>UIScrollView</code> that acts as a container for my <code>UILabel</code>s. Basically I'm trying to use an action method with arguments so I can e.g. send <code>myLabel.tag</code> value to the action method to know what action to take depending on what UILabel has has been triggered by a tap.</p>
  
  <p>One way of doing it is having as many action methods as <code>UILabel</code>s but that isn't very "pretty" codewise. What I would like to achieve is just having one action method with switch statements.</p>
  
  <p>Is this possible or will I have to do it like this (sigh):</p>
  
  <pre><code>UITapGestureRecognizer *myLabel1Tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(myLabel1Tap)];
  [myLabel1Tap addGestureRecognizer:myLabel1Tap];
  
  UITapGestureRecognizer *myLabel2Tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(myLabel2Tap)];
  [myLabel1Tap addGestureRecognizer:myLabel2Tap];
  
  UITapGestureRecognizer *myLabelNTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(myLabelNTap)];
  [myLabel1Tap addGestureRecognizer:myLabelNTap];
  
  - (void)myLabel1Tap {
  // Perform action
  }
  
  - (void)myLabel2Tap {
  // Perform action
  }
  
  - (void)myLabelNTap {
  // Perform action
  }
  </code></pre>