Running NSTimer Within an NSThread?

前端 未结 2 914
感动是毒
感动是毒 2021-01-24 05:05

I am trying to run a timer in the background of my application, i am using the timer heavily in my application and i\'d rather running it in the background, However i am getting

2条回答
  •  暖寄归人
    2021-01-24 05:42

    You're updating your UI in +startTime:, but that method does not run in the main thread. That may be the source of the WebCore warning you're seeing.

提交回复
热议问题