繁体   English   中英

IOS 7 UIProgressView颜色

[英]IOS 7 UIProgressView color

我有

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更改为从蓝色到灰色的颜色。 知道我怎么解决它?

对于UIProgressViewblueColor是默认的progressTintColor ,而grayColor是默认的trackTintColor 您是否已将进度从1.0f更改为0.0f或重新加载tableview?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM