iPad应用程序UITableView委托方法没有被调用

jAm*_*Ami 2 iphone uitableview ipad

我正在使用与我在编写iPad应用程序时在iphone中填充UITableView相同的技术.标签栏控制器> UINavigationController>类型为myCustomTable的UITableViewController(从NIB加载)

MyCustomTableViewController NIB和类文件实现委托方法

@interface MyCustomTableViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource> {

 NSMutableArray *PDFList;
 IBOutlet UITableView *PDFTable;

}
Run Code Online (Sandbox Code Playgroud)

但我的委托方法没有被调用.我该怎么办?

jAm*_*Ami 9

找到解决方案....

在tableView委托方法中 - (NSInteger)numberOfSectionsInTableView:(UITableView*)tableView

我返回0,因此没有调用任何委托方法.