自定義UITableViewCell上的圖片文字

    

            UIImageView * temp = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 30, 30)];spa

            temp.image = [UIImage imageNamed:@"001.png"];3d

            

            [cell.contentView addSubview:temp];it

            

            UILabel * myLable = [[UILabel alloc]initWithFrame:CGRectMake(100,10, 100, 20)];im

            myLable.backgroundColor = [UIColor clearColor];margin

            myLable.text = @"dfsdfd";top

            [cell.contentView addSubview:myLable];view

相關文章
相關標籤/搜索