_myView.layer.bounds = CGRectMake(0, 0, 200, 420);
_myView.layer.position = CGPointMake(200, 200);
_myView.layer.anchorPoint = CGPointMake(1, 1);
最终layer.frame.x = position.x - archorPoint*bounds.width;
layer.frame.y = position.y - archorPoint*bounds.height;
默认anchorPoint 为 (0.5, 0.5) 也就是center
如果是(1, 1) 点在右下角
(0, 0) 点在左下角