I have a tab bar app with an item that’s a favorite list.
When i add a new favorite and select it to open up, it loads the correct nib, but there’s the navigation bar that covers some of the text.
How can i do to let the nib show properly without the navigation bar that covers everything? I need it to go back to the favorites list,but it covers some of the text. I was thinking to an hiding \ unhiding on tap, but i’ve already tried, it hides the main Navigation Bar (the one with Favorites title) too. Any suggests?
Edit:
The code i’m using to call in nibs:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
Favorite *fav = (Favorite *)[[[FavoritesData sharedFavoritesData] getFavorites] objectAtIndex:indexPath.row];
NSString *selectedItem = fav.favId;
if ([selectedItem isEqualToString:@"First"]) {
Detail1 *detailViewController = [[Detail1 alloc] initWithNibName:@"Detail1" bundle:nil];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
}
I want to hide the Back button item when the nib appears,, and to show it when i tap the screen. And to adapt the nib to the screen, due the nav is kinda transparent.
I solved everything, there were problems with the Navigation bar Color (i choose Black Transparent instead of Black Opaque),and then the nib was covered by it. I changed and the nib resized like i wanted. Thanks for the answers btw.