Return to Snippet

Revision: 51894
at October 6, 2011 23:10 by paki


Initial Code
CGRect frame = CGRectMake(0, 0, 480, 49);
UIView *backView = [[UIView alloc] initWithFrame:frame];
UIImage *backImage = [UIImage imageNamed:@"tabbar_bg.png"];
UIColor *backColor = [[UIColor alloc] initWithPatternImage:backImage];
backView.backgroundColor = backColor;
[backColor release];
[tabBarController.tabBar addSubview:backView];
[backView release];

Initial URL

                                

Initial Description

                                

Initial Title
Custom UITabBarController Background

Initial Tags

                                

Initial Language
Objective C