UITableviewController not Displaying header navigation bar!!!
I am a newbie to iphonedeveloper. I have a viewcontroller and an alertview in it.When the ok button on alertview is clicked,it takes to another UITAbleviewController. I get the objects displayed in the table but the title and navigationbar is not present. Any help is appreciated.
/*
- (id)initWithStyle:(UITableViewStyle)style {
// Override initWithStyle: if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
if (self = [super initWithStyle:style]) {
}
return self;
}
*/
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
//self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
#pragma mark Table view methods
- (NSInteger)numberOfSectionsInTableView:(UITableVie w *)tableView {
return 1;
}
// Customize the number of rows in the table view.
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [tablelistcardamage count];
}
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {