//计算某个视图在屏幕上的frame
UIWindow* desWindow=[UIApplication sharedApplication].keyWindow;
CGRect frame = [self.phoneNumTextF convertRect:self.phoneNumTextF.bounds toView:desWindow];
//计算某个视图在屏幕上的frame
UIWindow* desWindow=[UIApplication sharedApplication].keyWindow;
CGRect frame = [self.phoneNumTextF convertRect:self.phoneNumTextF.bounds toView:desWindow];
本文标题:iOS----计算某个视图在屏幕上的frame
本文链接:https://www.haomeiwen.com/subject/jairsxtx.html
网友评论