开发者

TableView problem with Tab Bar?

I created a tableView which worked fine in a single view app but as soon as I changed the view controller for a Tab Bar Controller and tapped the tab for the view with the table view in I suddenly get this! What has gone wrong?

[Session started at 2010-03-28 15:30:15 +0100.]
2开发者_如何学JAVA010-03-28 15:30:17.763 LogbookTable[13473:207] *** -[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x3b14d10
2010-03-28 15:30:17.765 LogbookTable[13473:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x3b14d10'
2010-03-28 15:30:17.766 LogbookTable[13473:207] Stack: (
    29303899,
    2465178889,
    29685819,
    29255286,
    29107906,
    4372518,
    4379894,
    4378891,
    3095430,
    3035941,
    3077376,
    3065931,
    55820976,
    55820399,
    55818438,
    55817530,
    2739877,
    2763572,
    2745983,
    2773089,
    37399897,
    29088640,
    29084744,
    2739733,
    2777007,
    10496,
    10350
)


You have an UIViewController somewhere, that should be an UITableViewController. Check your view hierarchy in Interface Builder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜