close
- (CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view;
根据指定view参照物,转换点的坐标
比如在一个View上一个Button,在button上有个点,相对button的坐标知道了,想知道这个点在这个View上的坐标,就可以用这个API去转换
全站熱搜
- (CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view;
根据指定view参照物,转换点的坐标
比如在一个View上一个Button,在button上有个点,相对button的坐标知道了,想知道这个点在这个View上的坐标,就可以用这个API去转换