// 將像素point由point所在視圖轉(zhuǎn)換到目標(biāo)視圖view中,返回在目標(biāo)視圖view中的像素值
-?(CGPoint)convertPoint:(CGPoint)pointtoView:(UIView*)view;
//?將像素point從view中轉(zhuǎn)換到當(dāng)前視圖中,返回在當(dāng)前視圖中的像素值
-?(CGPoint)convertPoint:(CGPoint)pointfromView:(UIView*)view;
//?將rect由rect所在視圖轉(zhuǎn)換到目標(biāo)視圖view中,返回在目標(biāo)視圖view中的rect
-?(CGRect)convertRect:(CGRect)recttoView:(UIView*)view;
//?將rect從view中轉(zhuǎn)換到當(dāng)前視圖中,返回在當(dāng)前視圖中的rect
-?(CGRect)convertRect:(CGRect)rectfromView:(UIView*)view;
想了解更多的知識(shí),請(qǐng)加入技術(shù)開發(fā)交流企鵝群 57-28-70-06-3,會(huì)有意想不到的收獲~~~?。?!