[英]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
更改為從藍色到灰色的顏色。 知道我怎么解決它?
對於UIProgressView
, blueColor
是默認的progressTintColor
,而grayColor
是默認的trackTintColor
。 您是否已將進度從1.0f更改為0.0f或重新加載tableview?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.