Get X and Y cordinate Of view
<p>I have one UITableView in My View.The name of my UITableView is tblTask.<br/>
I am using touchesBegan method to get the x and y cordinate of my view.<br/></p>

<pre><code>-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    UITouch *touch = [touches anyObject];
    CGPoint location = [touch locationInView:self.view];

    NSLog(@"point........ %f .. %f",location.x,location.y);



}
</code></pre>

<p>But when I begin the touch event from the tbltask. It does not return the location.x and location.y even if tbltask is the subview of the main view. <br/><br/>
 I tried to disable the scrollview of the table also but nothing happen.
<br/>
when i set this.</p>

<pre><code>tbltask.userInteractionEnabled=NO;
</code></pre>

<p>then it will give the cordinate but i want the cordinate of view even if tbltask interaction is enabled.<br/><br/>
so please help me on this.</p>
