convertRect函数
2019-08-28 本文已影响0人
梓华
- (CGRect)convertRect:(CGRect)rect toView:(UIView *)view;
toView:目标视图
rect:需要换算的frame
调用者:rect的super视图
- (CGRect)convertRect:(CGRect)rect fromView:(UIView *)view;
- (CGRect)convertRect:(CGRect)rect toView:(UIView *)view;
- (CGRect)convertRect:(CGRect)rect fromView:(UIView *)view;