Has anyone tried changing the font, size, and background color of NavigationBar Title from a UITableView Controller?
I tried this bit of code, but it only works from a UIViewController or UIView...
Insert in loadview..
Code:
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 120, 30)];
[label setFont:[UIFont boldSystemFontOfSize:16.0]];
[label setBackgroundColor:[UIColor clearColor]];
[label setTextColor:[UIColor whiteColor]];
[label setText:self.title];
[self.navigationController.navigationBar.topItem setTitleView:label];
[label release];