UILabel *label = [[UILabelalloc]initWithFrame:CGRectMake(235, 4, 20, 16)];
label.text = @"3";
label.font =[UIFont systemFontOfSize:16];
label.textColor =[UIColor whiteColor];
label.backgroundColor =[UIColor redColor];
label.textAlignment = NSTextAlignmentCenter;
label.layer.cornerRadius = 8;
label.layer.masksToBounds = YES;
[tabBarController.tabBar addSubview:label];
[labelrelease];