hi, i am new to Objective C, so please bare with me. I find it important to understand how to add things programatically. I have a table view that populates with RSS data. In my view, i added a UINavigationController(UINC). All is fine, except that upon adding that controller, it rides just about 10-20 pixels south of where i would expect (0,0). can anyone explain and help me out? The addition of his UINC is quite simple:
and here is how it looks:
any ideas?
Code:
- (void)parserDidEndDocument:(NSXMLParser *)parser
{
frontTable =[[FeedTableController alloc] initWithNibName:@"FeedTableController" bundle:nil];
//add the nav controller
navController = [[UINavigationController alloc] initWithRootViewController:frontTable];
self.view = navController.view;
[frontTable setUpTable:menuList];
[self.view addSubview:frontTable.view];
}
any ideas?