Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fernandovalente

macrumors 6502
Original poster
Hey guys, I'm developing a tab bar application with two views. The first one is a normal UIView, the second one is a UITableView. I got a problem. When I set the data source for the UITableView, it does nothing. The same code works on a view based application. The UITableViewController.xib, UITableViewController.h and the UITableViewController.m were created together on Xcode.
 

KoolStar

macrumors demi-god
Oct 16, 2006
825
9
Kentucky
You have to make sure that the view that has the table view controller, make sure that the tabbarbutton has the same controller class.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.