2018-04-26 CGRectGetMaxY
2018-04-26 本文已影响75人
破夕_____________
button = [[UIButton alloc] initWithFrame:CGRectMake(77, 23, 130, 25)];
CGRectGetMaxY(fakeButton.frame)
CGRectGetMaxY这个函数字面意思是指:求CGRect对象的最大Y的值。即23+25
button = [[UIButton alloc] initWithFrame:CGRectMake(77, 23, 130, 25)];
CGRectGetMaxY(fakeButton.frame)
CGRectGetMaxY这个函数字面意思是指:求CGRect对象的最大Y的值。即23+25