你可以使用UIViewController,
然后自己添加UITableView就好了。
看起来它不能没有自定义单元格的类。因为我们没有演示图板原型单元格的已筛选的表视图以图形方式 *** 作,我们必须以编程方式创建的单元格。为此我们需要一个自定义单元格类和与 initWithStyle: 方法在.m 文件,如下所示。所以我创建了一个称为 SelectionCell 的 UITableViewCell,和在 IB 分配到 SelectionCell 类的自定义单元格类的子类的类和 IBOutlet 的所有 UI 控件在创建我自定义的单元格到 SelectionCell.h 文件中@interface SelectionCell : UITableViewCell{
}
@property (strong, nonatomic) IBOutlet UIImageView *contactPictureID
@property (strong, nonatomic) IBOutlet UILabel *contactName
@property (strong, nonatomic) IBOutlet UILabel *emailAddress
@property (strong, nonatomic) IBOutlet UIImageView *selectedEmailState
@end
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)