|Jul 9, 2010, 10:56 AM||#1|
UITableViewController not receiving events
I am still new to the iPhone SDK, and I find it pretty confusing. I have, until now, only used managed languages like Java, C#, VB.NET, and some Python.
Here's code that adds a table to the screen. The table shows up on the screen, but its contents do not. The methods that should fill them in are never entered.
|Jul 9, 2010, 11:44 AM||#2|
Don't do it like that. UITableViewController makes its own table. Don't try to associate a view controller with a view like this. If possible try not to add views directly to a window. (I know that it has to be done once at the start of an app.)
Start with the NavBar app from template. It shows how to do this and it works. If you don't want to see a navbar then make it hidden. You will save yourself a lot of grief if you use a navbar controller.
|Jul 10, 2010, 07:27 AM||#3|
And set self.tableView.rowHeight = 73.0;
as a return value in
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
Fuel Log Evo: The Cost Manager App for any Vehicle
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How to open UITableViewController modally and pass NSMutableArray||igorland||iPhone/iPad Programming||7||Mar 24, 2014 07:29 AM|
|iPhoto - Creating 'Events' within 'Events'?||Big Stevie||Mac Applications and Mac App Store||47||Aug 26, 2013 02:30 PM|
|[Resolved]. Switching from UITableViewController, to new UITabBarController||StigProgram||iPhone/iPad Programming||4||Nov 16, 2012 03:58 PM|
|UITableViewController background image||xaphann||iPhone/iPad Programming||5||Jun 6, 2012 09:03 PM|
All times are GMT -5. The time now is 02:54 PM.