YosiFZ
YosiFZ

Reputation: 7900

IOS 7 UIProgressView color

I have

UIProgressView *progressView

inside a UITableViewCell . and when i popup 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];

The progressView change is color from the blue to gray. Any idea how i can fix it?

Upvotes: 0

Views: 1841

Answers (1)

simalone
simalone

Reputation: 2768

For UIProgressView, blueColor is default progressTintColor, and grayColor is default trackTintColor. Have you make the progress changed from 1.0f to 0.0f or reload tableview?

Upvotes: 2

Related Questions