2010-07-26 53 views

回答

3

tableview调用其数据源方法。 为了调用cellForRowAtIndexPath:,在tableview中需要行,其中方法numberOfRowsInSection用于。

跳转到UITableViewDataSource协议的Apple文档。