UIScrollView的高度在xib中设置
需要固定的部分用代码添加:
UIImageView *textLogo = [[UIImageView alloc] initWithFrame:CGRectMake((kMSScreenWith - 153)/2, (kMSScreenHeight - 118 > 549 ? kMSScreenHeight : 667) - 173, 153, 35)];
textLogo.image = [UIImage imageNamed:@"ppb_textLogo"];
[self.introduceScrollView addSubview:textLogo];
时间: 2024-11-05 12:36:01