1、
//相对屏幕的坐标
UIWindow * window=[[[UIApplication sharedApplication] delegate] window];
CGRect rect=[label convertRect: label.bounds toView:window];
// 是否包含点
CGRectContainsPoint(self.mySubjectView.bounds, point)
// 求点等等
[self.mySubjectView convertRect:<#(CGRect)#> fromView:<#(nullable UIView *)#>];
[self.mySubjectView convertRect:<#(CGRect)#> toView:<#(nullable UIView *)#>];
网友评论