草庐IT

UITableViewCintroller

全部标签

iOS:在 UITableViewCintroller 子类中创建默认静态表

我想在我的UITableViewCintroller子类中创建一个默认静态表,但数据没有出现。我不知道问题出在哪里,我认为未调用cellForRowAtIndexPath方法。这是我的代码:#import@interfaceS5WebTable:UITableViewController@end#import"S5WebTable.h"@interfaceS5WebTable()@property(assign,nonatomic)BOOLisLoaded;@end@implementationS5WebTable-(void)viewDidLoad{[superviewDidLoad