Skip to content

Instantly share code, notes, and snippets.

@dlinsin
Created January 15, 2010 10:49
Show Gist options
  • Save dlinsin/277957 to your computer and use it in GitHub Desktop.
Save dlinsin/277957 to your computer and use it in GitHub Desktop.
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
tableViewNavigationBar = [[UINavigationBar alloc] initWithFrame: CGRectMake(0.0f, 0.0f, 320.0f, 44.0f)];
UIImage *image = [UIImage imageNamed:@"synyx_150_no_os.png"];
imageView = [ [ UIImageView alloc ] initWithFrame:CGRectMake(84.0, 1.0, image.size.width, image.size.height) ];
[imageView setImage:image];
[tableViewNavigationBar addSubview:imageView];
[super.tableView addSubview:tableViewNavigationBar];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment