UIView *topView = [[UIView alloc]initWithFrame:CGRectMake(0, -480, ScreenWidth, 480)]; UIImageView *iconImage = [[UIImageView alloc]initWit ...
UIView *topView = [[UIView alloc]initWithFrame:CGRectMake(0, -480, ScreenWidth, 480)]; UIImageView *iconImage = [[UIImageView alloc]initWithFrame:CGRectMake((ScreenWidth - 35)/2.0,380, 35, 35)]; iconImage.image = [UIImage imageNamed:@"pic_dropdown.png"]; iconImage.contentMode = UIViewContentModeCenter; [topView addSubview:iconImage]; topView.backgroundColor = [UIColor colorWithRed:246/255.0 green:246/255.0 blue:246/255.0 alpha:1]; [_tableView addSubview:topView];
原标题:下拉tableView实现类似微信中带图的灰色背景
关键词:ie
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。