界面 显示不显示到 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]];
}
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]];
}
相关文章推荐
- 因远程访问导致Silverlight中Design界面不显示的解决方法
- 安装Oracle 11g R2后,EM登陆界面显示乱码解决方法
- WIN7下安装Ubuntu Kylin双系统后开机不显示系统选择界面解决方法
- zabbix 监控界面状态一直显示为loading的解决方法
- WEX5开发之界面只显示部分内容解决方法
- ERP DOT NET界面显示不正常,原因及解决方法
- ubuntu12.04图形界面无法显示的解决方法
- 小米手机切换英文界面显示归属地解决方法
- TK模块写图形界面中文显示乱码的解决方法。
- xManger图形界面显示乱码解决方法
- cocowather无法启动显示程序界面解决方法
- Vue.js由于延时显示了{{message}}引用界面解决方法
- 打开office 中execl文档显示灰色界面解决方法
- win8系统下建设银行个人网银界面显示不正常的解决方法
- 关于从outlook发来的邮件,在linux字符界面中显示为乱码的解决方法
- 各人工作笔记-red hat 5升级为centos5后,界面无法显示的解决方法
- Tomcat配置成功,但输入http://localhost:8080/不显示界面的解决方法
- Win7系统登录CF不能选区怎么办?Win7系统登录CF穿越火线没显示选区界面的解决方法
- 时间在界面显示的有时分秒,去掉时分秒的解决方法
- Activity显示空白界面解决方法