嗨,我是 iOS 开发的新手UITableViewCell
,我在其中添加了自定义单元设计
在我添加的一个单元格中添加了两个标签
UILabel *label = [[UILabel alloc] initWithFrame: CGRectMake(/* where you want it*/)]; label.text = @"text"; //etc... label.autoresizingMask=UIViewAutoresizingFlexibleWidth; [self.contentView addSubView:label]; [label release];
我的第一个标签被屏蔽但第二个标签在重新定位表时粘在哪里
我正在使用 iOS6