2014-02-13 54 views
0

我有IOS 7 UIProgressView颜色

UIProgressView *progressView 

一个UITableViewCell内部。当我弹出UIActionSheet

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil]; 

    [actionSheet addDestructiveButtonWithTitle:@"Delete" block:^(UIActionSheet *actionSheet, NSInteger buttonIndex) { 
    }]; 

    [actionSheet addCancelButtonWithTitle:@"Cancel" block:^(UIActionSheet *actionSheet, NSInteger buttonIndex) {}]; 

    [actionSheet showFromTabBar:self.tabBarController.tabBar]; 

progressView变化是从蓝色到灰的颜色。 任何想法如何我可以修复它?

+0

您将它设置为'tintColor'。 – n00bProgrammer

+0

每次UIActionSheet关闭? – MTA

回答

1

对于UIProgressViewblueColor是默认progressTintColor,并grayColor是默认trackTintColor。你是否将进度从1.0f改为0.0f或重新加载tableview?