I'd like to drag customView.  

But, when I drag the customView, it always move from location (0, 0).  

Please look at following image.  

the red parts is the customView, and when I drag it, it move to the location.  

![enter image description here](https://i.stack.imgur.com/IZfin.png)

How do I fix it to make move customView correctly?  

I have this code.  

`labelview` is the customView(subclass of UIView).

```
- (void)viewDidLoad
{
    [super viewDidLoad];

    _labelView = [[LabelView alloc]initWithFrame:CGRectMake(20, 60, 200, 100)];
    UIPanGestureRecognizer* pan = [[UIPanGestureRecognizer alloc]initWithTarget:self action:@selector(panAction:)];
    [_labelView addGestureRecognizer:pan];
    [self.view addSubview:_labelView];
}

- (void)panAction:(UIPanGestureRecognizer *)sender
{
    CGPoint p = [sender translationInView:self.view];
    CGPoint movedPoint = CGPointMake(_labelView.center.x + p.x, _labelView.center.y + p.y);
    sender.view.center = movedPoint;
    [sender setTranslation:movedPoint inView:self.view];
}

```