Open chenjianhuan opened 5 years ago
UIView * backView = [[UIView alloc] initWithFrame:CGRectMake(50, 0, 100, 30)]; backView.backgroundColor = [UIColor yellowColor]; self.tabBar.progressView = backView;
我看是因为set方法没赋值
UIView * backView = [[UIView alloc] initWithFrame:CGRectMake(50, 0, 100, 30)]; backView.backgroundColor = [UIColor yellowColor]; self.tabBar.progressView = backView;