1、superview:父视图
NSArray *arr=[view superview];
2、subviews:子视图
NSArray *arr=[view _viewfor subviews]
3、NSLog(@"viewfor的frame:%@",NSStringFromCGRect(viewfor.frame));
4、NSLog(@"viewfor的center:%@",NSStringFromCGPoint(viewfor.center));
1、superview:父视图
NSArray *arr=[view superview];
2、subviews:子视图
NSArray *arr=[view _viewfor subviews]
3、NSLog(@"viewfor的frame:%@",NSStringFromCGRect(viewfor.frame));
4、NSLog(@"viewfor的center:%@",NSStringFromCGPoint(viewfor.center));