簡體   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