title: add touch event on drawing items in drawRect
body: <p>I'm making a calendar app. Now I draw my appointment in the screen like this.</p>
  
  <pre><code>if (boolMark) {
          UIColor *blueColorMark = [UIColor colorWithRed:0 green:.62 blue:.984 alpha:0.5];
          appointmentRect.origin.x += 5;
          appointmentRect.size.width -= 10;
          NSArray *appointments = [[mark valueForKey:@"appointments"] mutableCopy];
          float lblHeight = appointmentRect.origin.y - tileHeightAdjustment + 20;
          for (NSDictionary *appointment in appointments){
              UIImage *overlayImage=[self imageWithColor:blueColorMark];
              NSString *strTitle = [NSString stringWithFormat:@"%@",[appointment valueForKey:@"app_label"]];
              if (forIpad) {
                  NSLog(@"AppointmentRect Y = %f",lblHeight);
                  appointmentRect.origin.y = lblHeight;
              }
              else
              {
                  appointmentRect.origin.y -= 6;
              }
              appointmentRect.size.height = [self calculateHeight:strTitle andWidth:appointmentRect.size.width];
              lblHeight += appointmentRect.size.height + 5;
  
              [overlayImage drawInRect:appointmentRect];
              UIFont *f3 =[UIFont fontWithName:@"MyriadPro-Regular" size:10];
              [strTitle drawInRect: appointmentRect
                     withFont: f3
                lineBreakMode:NSLineBreakByWordWrapping
                    alignment: NSTextAlignmentCenter];
  
  
          }
      }
  </code></pre>
  
  <p>Now I want when a user touches a certain appointment show a detailView with more information about the appointment.</p>
  
  <p>My question now, is how to set an action when a user taps a certain appointment (certain overlayImage)? </p>
  
  <p>Any help?</p>
  
  <p>Kind regards</p>