开发者

ios app does not show the data in the tableview

I followed the tutorial here http://www.techotopia.com/index.php/Creating_a_Simple_iOS_4_iPhone_Table_View_Application but for some reason, all i get is the white screen.开发者_Python百科 The table does not even show.

Any ideas as to why this might be happening?

I have added this line to show the view

[window addSubview:self.viewController.view];
[self.window makeKeyAndVisible];

So i am sure that the table should be visible.


Where is self.viewController assigned? If you are putting it in a nib, did you hook up the IBOutlet? What does NSLog(@"%@", self.viewController"); say?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜