// v上的(0, 0)点在toView上的位置
CGPointpoint = [v convertPoint:CGPointMake(0,0) toView:[UIApplication sharedApplication].windows.lastObject];
或者
CGPoint point = [v.superview convertPoint:v.frame.origin toView:[UIApplication sharedApplication].windows.lastObject];
网友评论