close

- (CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view;

根据指定view参照物,转换点的坐标
比如在一个View上一个Button,在button上有个点,相对button的坐标知道了,想知道这个点在这个View上的坐标,就可以用这个API去转换

arrow
arrow
    全站熱搜

    zer931 發表在 痞客邦 留言(0) 人氣()