How to avoid “CoreAnimation warning deleted thread with uncommitted CATransaction” if NOT using CoreAnimation

前端 未结 3 729
北恋
北恋 2021-01-06 14:37

Just in the appdelegates, applicationDidBecomeActive. I create and start a thread, this thread waits an asynchronous download and then save data:

 - (void)a         


        
3条回答
  •  星月不相逢
    2021-01-06 15:08

    I have found the problem: Is changing a label in menuViewController

    In this thread, i use a isntance variable than is de menuViewController:

    [menuViewController.labelBadgeVideo setText:@"123 videos"];
    

    If i comment this line no warning appears

    (Now I have to find out how to change this label without warning)

提交回复
热议问题