iPhone开发 自定义uitabbar
1.换颜色
CGRect frame = CGRectMake(0, 0, 320, 47);
UIView *v = [[UIView alloc] initWithFrame:frame];
UIColor *c = [[UIColoralloc] initWithRed:0.4green:0.7blue:0.3alpha:1.0];
v.backgroundColor = c;
[tabBarController.tabBarinsertSubview:v atIndex:0];
2.换图片
UIImageView* image = [[UIImageViewalloc] initWithImage:[UIImageimageNamed:@"button.png"]];
image.frame = CGRectMake(0, 0, 320,49);
[tabBarController.tabBarinsertSubview:image atIndex:0];
摘自 凡娃软件
补充:移动开发 , IOS ,