skip to main
|
skip to sidebar
mobile dev
Sunday, April 12, 2009
NSTimer检测不到按键的解决办法
在Timer的执行函数最后加上这段代码就可以了。
[[NSRunLoop currentRunLoop] runUntilDate: [NSDate distantPast]];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(16)
▼
April
(3)
在线程中更新界面
在主线程里加入一个loading画面…
NSTimer检测不到按键的解决办法
►
March
(11)
►
February
(2)
About Me
Alex
View my complete profile
No comments:
Post a Comment