title: Correct touch location after zooming and panning a pdf drawn in CATiledLayer on top of the UIScrollview in iOS
body: <p>I am working on Atlas App in which I am displaying map which I can zoom and pan using pdf file. I am using <strong>vfr reader</strong> for this purpose and it is working fine. I want to detect the touch location so that I can get the correct state selected. I am getting the correct coordinate when view is not zoomed and panned using the code below:</p>
  
  <pre><code>- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  {
      UITouch *touch = [touches anyObject]; 
  
      CGPoint point = [touch locationInView:theScrollView];
  }
  </code></pre>
  
  <p>But,when I zoom it out and pan it,the touch location changes and I am not getting the correct state selected. How will I get the correct selected state?</p>