标签: ios7
我使用以下代码获取ios 6中视图的(x,y)坐标 我的代码是: CGPoint point = [[MYView superview] superview].frame.origin; NSLog(@"%@",[NSValue valueWithCGPoint:point]); NSLog(@"%f",point.y);
CGPoint point = [[MYView superview] superview].frame.origin; NSLog(@"%@",[NSValue valueWithCGPoint:point]); NSLog(@"%f",point.y);
如何在ios 7中获得x,y坐标?