您的位置:首页 > 其它

界面 显示不显示到 0 解决方法

2014-07-08 12:25 218 查看
[[NSRunLoopmainRunLoop]
runUntilDate:[NSDatedateWithTimeIntervalSinceNow:0.5]];

例:

_cleaningOrScaningLabel.text =
@"正在清理中...";
    percentNumber--;
    
    _cleanTipSizeLabel.text = [NSString
stringWithFormat:@"%d",percentNumber];
    [self
refrushCleanTipBjViewFrame];
    if (percentNumber ==
0) {
        [[NSRunLoop
mainRunLoop] runUntilDate:[NSDate
dateWithTimeIntervalSinceNow:0.5]];
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: