【发布时间】:2016-03-04 20:11:17
【问题描述】:
我有一个问题。我有一个 UITableView 和一个带有 UIProgressView 的视图,当我滚动表格时,progressview 不会刷新进度值...只有当滚动完成时,进度才会刷新..
我不知道为什么会这样。 我尝试使用 dispatch_async 刷新进度
dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void){
//I don't know what i have to put here, maybe the NSTimer??
dispatch_async(dispatch_get_main_queue(), ^(void){
//here i set the value of the progress
});
});
但没有任何改变......
【问题讨论】:
标签: ios uitableview uiprogressview