gpt4 book ai didi

IOS 7 UIProgressView 颜色

转载 作者:行者123 更新时间:2023-11-28 22:15:45 25 4
gpt4 key购买 nike

我有

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默认为progressTintColorgrayColor默认为trackTintColor。您是否使进度从 1.0f 更改为 0.0f 或重新加载 tableview?

关于IOS 7 UIProgressView 颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21751305/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com