uinavigationbar:
UIImage *img = [UIImage imageNamed:@"background.png"];
navBar.layer.contents = (id)img.CGImage;
toolbar:
UIImageView *barBackgroudView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320,44)];
barBackgroudView.image = [UIImage imageNamed:@"tbackground.png"];
[self.navigationController.toolbar insertSubview:barBackgroudView atIndex:0];
[barBackgroudView release];
tabbar
CGRect frame = CGRectMake(0.0, 0.0, 320.0, 49.0);
UIView *v = [[UIView alloc] initWithFrame:frame];
UIImage *img = [UIImage imageNamed:@"tabbar.png"];
UIColor *c
v.backgroundColor = c;
[m_TabBar.tabBar insertSubview:v atIndex:0];
m_TabBar.tabBar.opaque
[c release];
[v release];